Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 207.6 MB / 236 MB, free: 10.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 48.36 kB / 348.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 49.17 MB / 397.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01892/0.3671, allocations: 16.62 MB / 414.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01503/0.3821, allocations: 4.696 MB / 418.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00627/0.3884, allocations: 131.9 kB / 419.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01986/0.4082, allocations: 7.247 MB / 426.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.4184, allocations: 1.924 MB / 428.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.4243, allocations: 1.683 MB / 429.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01713/0.4415, allocations: 9.518 MB / 439.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02638/0.4678, allocations: 13.58 MB / 453 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.4789, allocations: 5.382 MB / 458.4 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.4919, allocations: 5.95 MB / 464.4 MB, free: 368 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005313/0.4972, allocations: 1.359 MB / 465.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008012/0.5052, allocations: 1.648 MB / 467.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006345/0.5115, allocations: 2.802 MB / 470.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.5242, allocations: 5.354 MB / 475.5 MB, free: 5.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02802/0.5522, allocations: 18.24 MB / 493.8 MB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5522, allocations: 0 / 493.8 MB, free: 2.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5522, allocations: 0 / 493.8 MB, free: 2.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006109/0.5529, allocations: 8 kB / 493.8 MB, free: 2.867 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04105/0.5939, allocations: 12.24 MB / 0.4941 GB, free: 6.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.594, allocations: 11.98 kB / 0.4942 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03616/0.6301, allocations: 6.284 MB / 0.5003 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01498/0.6451, allocations: 5.261 MB / 0.5054 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008441/0.6459, allocations: 0.6704 MB / 0.5061 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004245/0.6502, allocations: 0.8749 MB / 0.5069 GB, free: 9.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03647/0.6866, allocations: 14.71 MB / 0.5213 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002082/0.6869, allocations: 7.938 kB / 0.5213 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/0.6882, allocations: 372 kB / 0.5217 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000564/0.6888, allocations: 0.4915 MB / 0.5221 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02628/0.7151, allocations: 13.52 MB / 0.5353 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4944/1.21, allocations: 43.2 MB / 0.5775 GB, free: 119.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.22, allocations: 5.98 MB / 0.5834 GB, free: 119.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004026/1.224, allocations: 2.867 MB / 0.5862 GB, free: 118.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/1.224, allocations: 93.97 kB / 0.5863 GB, free: 118.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/1.224, allocations: 80.5 kB / 0.5863 GB, free: 118.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.352e-06/1.224, allocations: 0 / 0.5863 GB, free: 118.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01703/1.241, allocations: 9.413 MB / 0.5955 GB, free: 115.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/1.241, allocations: 127.1 kB / 0.5957 GB, free: 115.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/1.246, allocations: 3.163 MB / 0.5987 GB, free: 113.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003286/1.247, allocations: 88.8 kB / 0.5988 GB, free: 113.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.249, allocations: 3.835 MB / 0.6026 GB, free: 111 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/1.25, allocations: 1.456 MB / 0.604 GB, free: 109.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/1.251, allocations: 1.134 MB / 0.6051 GB, free: 109.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/1.251, allocations: 301.1 kB / 0.6054 GB, free: 108.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/1.255, allocations: 2.84 MB / 0.6082 GB, free: 107.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/1.259, allocations: 4.891 MB / 0.6129 GB, free: 103.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007717/1.267, allocations: 8.266 MB / 0.621 GB, free: 95.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/1.267, allocations: 16 kB / 0.621 GB, free: 95.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0124/1.279, allocations: 9.084 MB / 0.6299 GB, free: 86.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/1.279, allocations: 36 kB / 0.6299 GB, free: 86.35 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-05/1.279, allocations: 68.03 kB / 0.63 GB, free: 86.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/1.282, allocations: 1.159 MB / 0.6311 GB, free: 85.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.286, allocations: 1.291 MB / 0.6324 GB, free: 83.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.298, allocations: 10.62 MB / 0.6428 GB, free: 73.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004612/1.302, allocations: 0.7531 MB / 0.6435 GB, free: 72.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00096/1.303, allocations: 279.9 kB / 0.6438 GB, free: 71.99 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005845/1.309, allocations: 3.416 MB / 0.6471 GB, free: 68.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008365/1.31, allocations: 365.6 kB / 0.6474 GB, free: 68.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009596/1.32, allocations: 6.882 MB / 0.6542 GB, free: 61.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00714/1.327, allocations: 5.702 MB / 0.6597 GB, free: 55.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/1.327, allocations: 12 kB / 0.6597 GB, free: 55.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-05/1.327, allocations: 27.84 kB / 0.6598 GB, free: 55.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/1.351, allocations: 15.25 MB / 0.6747 GB, free: 40.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.351, allocations: 12 kB / 0.6747 GB, free: 40.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.354, allocations: 0.7918 MB / 0.6755 GB, free: 39.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002691/1.357, allocations: 1.063 MB / 0.6765 GB, free: 38.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/1.357, allocations: 108 kB / 0.6766 GB, free: 38.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.368, allocations: 10.37 MB / 0.6867 GB, free: 27.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/1.368, allocations: 15.94 kB / 0.6867 GB, free: 27.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.381, allocations: 10.67 MB / 0.6972 GB, free: 16.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/1.383, allocations: 0.9648 MB / 0.6981 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005591/1.384, allocations: 95.94 kB / 0.6982 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.386, allocations: 279.7 kB / 0.6985 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005879/1.387, allocations: 359 kB / 0.6988 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.387, allocations: 140 kB / 0.6989 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002479/1.389, allocations: 2.125 MB / 0.701 GB, free: 12.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.389, allocations: 0 / 0.701 GB, free: 12.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00594/1.395, allocations: 2.239 MB / 0.7032 GB, free: 10.45 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006443/1.396, allocations: 294.2 kB / 0.7035 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.406, allocations: 7.142 MB / 0.7104 GB, free: 2.984 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/1.406, allocations: 4 kB / 0.7104 GB, free: 2.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005466/1.412, allocations: 3.414 MB / 0.7138 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004566/1.416, allocations: 0.7872 MB / 0.7146 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03515/1.451, allocations: 16.1 MB / 0.7303 GB, free: 14.44 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007607/1.459, allocations: 5.757 MB / 0.7359 GB, free: 8.648 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/1.461, allocations: 359.4 kB / 0.7362 GB, free: 8.297 MB / 0.4982 GB Notification: Performance of SimCode: time 1.853e-06/1.461, allocations: 0 / 0.7362 GB, free: 8.297 MB / 0.4982 GB Notification: Performance of Templates: time 0.516/1.977, allocations: 195.3 MB / 0.9269 GB, free: 14.16 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.710975729860365]