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.001719/0.001719, allocations: 80.38 kB / 21.24 MB, free: 476 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.002083/0.002083, allocations: 165.6 kB / 24.49 MB, free: 3.668 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.345/1.345, allocations: 158.6 MB / 186.3 MB, free: 6.48 MB / 174.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.001863/0.001863, allocations: 62.73 kB / 298.6 MB, free: 6.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2628, allocations: 49.14 MB / 347.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01826/0.281, allocations: 14.24 MB / 362 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.2939, allocations: 4.533 MB / 366.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004977/0.2989, allocations: 139.3 kB / 366.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01961/0.3185, allocations: 7.068 MB / 373.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009632/0.3281, allocations: 1.877 MB / 375.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.3341, allocations: 1.593 MB / 377.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.3499, allocations: 9.509 MB / 386.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02521/0.3751, allocations: 13.46 MB / 400.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01409/0.3892, allocations: 7.977 MB / 408.2 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.4008, allocations: 5.809 MB / 414 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004087/0.4049, allocations: 1.359 MB / 415.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005919/0.4108, allocations: 1.636 MB / 417 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00557/0.4164, allocations: 2.786 MB / 419.8 MB, free: 7.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00946/0.4258, allocations: 4.191 MB / 423.9 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03201/0.4578, allocations: 18.32 MB / 442.3 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4579, allocations: 0 / 442.3 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4579, allocations: 0 / 442.3 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006166/0.4585, allocations: 0 / 442.3 MB, free: 0.7656 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.04152/0.5, allocations: 12.25 MB / 454.5 MB, free: 4.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.5001, allocations: 15.98 kB / 454.5 MB, free: 4.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03662/0.5367, allocations: 6.284 MB / 460.8 MB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/0.5513, allocations: 5.258 MB / 466.1 MB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009422/0.5522, allocations: 0.6743 MB / 466.7 MB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004488/0.5567, allocations: 0.8749 MB / 467.6 MB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5228/1.08, allocations: 14.93 MB / 482.6 MB, free: 93.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005545/1.08, allocations: 10.2 kB / 482.6 MB, free: 93.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003935/1.084, allocations: 374.3 kB / 482.9 MB, free: 92.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009057/1.085, allocations: 0.4921 MB / 483.4 MB, free: 92.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03137/1.116, allocations: 13.46 MB / 496.9 MB, free: 86.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07549/1.192, allocations: 38.5 MB / 0.5228 GB, free: 48.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.202, allocations: 5.956 MB / 0.5287 GB, free: 42.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/1.206, allocations: 2.85 MB / 0.5314 GB, free: 39.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004668/1.207, allocations: 91.09 kB / 0.5315 GB, free: 39.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/1.207, allocations: 78.56 kB / 0.5316 GB, free: 39.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=409): time 8.265e-06/1.207, allocations: 0 / 0.5316 GB, free: 39.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=409): time 0.0201/1.227, allocations: 9.416 MB / 0.5408 GB, free: 30.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/1.227, allocations: 121.1 kB / 0.5409 GB, free: 30.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/1.233, allocations: 3.23 MB / 0.5441 GB, free: 26.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006847/1.234, allocations: 93.7 kB / 0.5442 GB, free: 26.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.236, allocations: 3.826 MB / 0.5479 GB, free: 23.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/1.238, allocations: 1.462 MB / 0.5493 GB, free: 21.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003376/1.241, allocations: 1.132 MB / 0.5504 GB, free: 20.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/1.241, allocations: 309.1 kB / 0.5507 GB, free: 20.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005298/1.247, allocations: 2.834 MB / 0.5535 GB, free: 17.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006441/1.253, allocations: 4.896 MB / 0.5583 GB, free: 11.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.263, allocations: 8.255 MB / 0.5663 GB, free: 2.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.264, allocations: 20 kB / 0.5663 GB, free: 2.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02184/1.285, allocations: 9.076 MB / 0.5752 GB, free: 9.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.286, allocations: 32 kB / 0.5752 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/1.286, allocations: 71.94 kB / 0.5753 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/1.29, allocations: 1.155 MB / 0.5764 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/1.296, allocations: 1.291 MB / 0.5777 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/1.314, allocations: 10.39 MB / 0.5878 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005936/1.32, allocations: 0.7531 MB / 0.5886 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/1.321, allocations: 276 kB / 0.5888 GB, free: 11.32 MB / 462.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.009891/1.331, allocations: 3.423 MB / 0.5922 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/1.333, allocations: 365.6 kB / 0.5925 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/1.351, allocations: 6.866 MB / 0.5992 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01179/1.363, allocations: 5.696 MB / 0.6048 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.816e-05/1.363, allocations: 15.94 kB / 0.6048 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-05/1.363, allocations: 35.78 kB / 0.6049 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0341/1.397, allocations: 13.41 MB / 0.6179 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.865e-05/1.397, allocations: 20.25 kB / 0.618 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003605/1.401, allocations: 0.7917 MB / 0.6187 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003691/1.404, allocations: 1.056 MB / 0.6198 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008709/1.405, allocations: 104 kB / 0.6199 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/1.423, allocations: 10.15 MB / 0.6298 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/1.423, allocations: 15.94 kB / 0.6298 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02179/1.444, allocations: 10.67 MB / 0.6402 GB, free: 5.988 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003449/1.448, allocations: 0.9571 MB / 0.6412 GB, free: 5.027 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.449, allocations: 92 kB / 0.6412 GB, free: 4.938 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.452, allocations: 275.7 kB / 0.6415 GB, free: 4.668 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/1.453, allocations: 359 kB / 0.6418 GB, free: 4.316 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005601/1.454, allocations: 140 kB / 0.642 GB, free: 4.18 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005172/1.459, allocations: 2.093 MB / 0.644 GB, free: 2.082 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.1e-07/1.459, allocations: 0 / 0.644 GB, free: 2.082 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008809/1.468, allocations: 2.251 MB / 0.6462 GB, free: 15.82 MB / 0.5138 GB 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.001471/1.469, allocations: 282.2 kB / 0.6465 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.486, allocations: 7.143 MB / 0.6535 GB, free: 8.375 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.861e-05/1.486, allocations: 4 kB / 0.6535 GB, free: 8.371 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007708/1.494, allocations: 3.413 MB / 0.6568 GB, free: 4.941 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/1.5, allocations: 0.7907 MB / 0.6576 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/1.813, allocations: 16.32 MB / 0.6735 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007276/1.82, allocations: 5.467 MB / 0.6789 GB, free: 172.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005282/1.825, allocations: 2.161 MB / 0.681 GB, free: 172.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009153/1.826, allocations: 316.1 kB / 0.6813 GB, free: 172.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.623e-06/1.826, allocations: 0 / 0.6813 GB, free: 172.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.08968/1.916, allocations: 54.65 MB / 0.7346 GB, free: 123.1 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/jenkins/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/jenkins/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: 8.140165882185102]