Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001073/0.001073, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.0045/0.0045, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8619/0.8619, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.9 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.504e-05, allocations: 4.672 kB / 325.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009812/0.009837, allocations: 14.32 MB / 340.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007826/0.01766, allocations: 4.552 MB / 344.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.02017, allocations: 163.2 kB / 344.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007366/0.02753, allocations: 7.087 MB / 352 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005178/0.03271, allocations: 2.041 MB / 354 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.03514, allocations: 1.513 MB / 355.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009577/0.04472, allocations: 9.92 MB / 365.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02389/0.06862, allocations: 13.5 MB / 378.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009829/0.07844, allocations: 7.75 MB / 386.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006883/0.08533, allocations: 5.259 MB / 392 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002952/0.08828, allocations: 1.355 MB / 393.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.09175, allocations: 1.675 MB / 395 MB, free: 9.852 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002865/0.09462, allocations: 2.844 MB / 397.8 MB, free: 7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006062/0.1007, allocations: 3.602 MB / 401.4 MB, free: 3.391 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.1168, allocations: 18.66 MB / 420.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1168, allocations: 0 / 420.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1168, allocations: 0 / 420.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004762/0.1173, allocations: 4 kB / 420.1 MB, free: 0.6797 MB / 378.7 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.02435/0.1417, allocations: 12.16 MB / 432.3 MB, free: 4.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1417, allocations: 12.03 kB / 432.3 MB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.1599, allocations: 6.195 MB / 438.5 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.1706, allocations: 5.913 MB / 444.4 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/0.1711, allocations: 0.678 MB / 445.1 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/0.1743, allocations: 0.8827 MB / 445.9 MB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3116/0.4859, allocations: 14.97 MB / 460.9 MB, free: 97.15 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002703/0.4862, allocations: 10.22 kB / 460.9 MB, free: 97.15 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/0.4881, allocations: 372.6 kB / 461.3 MB, free: 96.87 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000298/0.4884, allocations: 499.1 kB / 461.8 MB, free: 96.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.5076, allocations: 13.51 MB / 475.3 MB, free: 89.8 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.5543, allocations: 38.57 MB / 0.5018 GB, free: 51.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00562/0.5599, allocations: 5.964 MB / 0.5076 GB, free: 45.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.5625, allocations: 2.867 MB / 0.5104 GB, free: 42.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.5627, allocations: 107.9 kB / 0.5105 GB, free: 42.44 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.5628, allocations: 78.56 kB / 0.5106 GB, free: 42.35 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.911e-06/0.5628, allocations: 0 / 0.5106 GB, free: 42.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01104/0.5738, allocations: 9.436 MB / 0.5198 GB, free: 32.95 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5738, allocations: 125.1 kB / 0.5199 GB, free: 32.8 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/0.5771, allocations: 3.231 MB / 0.5231 GB, free: 29.64 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004772/0.5775, allocations: 93.7 kB / 0.5232 GB, free: 29.55 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.5786, allocations: 3.809 MB / 0.5269 GB, free: 26.16 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008647/0.5795, allocations: 1.442 MB / 0.5283 GB, free: 24.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.5806, allocations: 1.136 MB / 0.5294 GB, free: 23.59 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.823e-05/0.5806, allocations: 309.1 kB / 0.5297 GB, free: 23.28 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/0.5834, allocations: 2.838 MB / 0.5325 GB, free: 20.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003123/0.5865, allocations: 4.911 MB / 0.5373 GB, free: 14.58 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006017/0.5925, allocations: 8.275 MB / 0.5454 GB, free: 5.371 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.998e-05/0.5926, allocations: 20 kB / 0.5454 GB, free: 5.352 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01042/0.603, allocations: 9.099 MB / 0.5543 GB, free: 12.24 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.603, allocations: 36 kB / 0.5543 GB, free: 12.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.306e-05/0.6031, allocations: 67.94 kB / 0.5544 GB, free: 12.14 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.6052, allocations: 1.153 MB / 0.5555 GB, free: 10.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.6082, allocations: 1.299 MB / 0.5568 GB, free: 9.676 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009743/0.6179, allocations: 10.37 MB / 0.5669 GB, free: 15.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/0.6212, allocations: 0.7491 MB / 0.5676 GB, free: 14.34 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008497/0.6221, allocations: 284 kB / 0.5679 GB, free: 14.07 MB / 442.8 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.005515/0.6276, allocations: 3.416 MB / 0.5712 GB, free: 10.64 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/0.6282, allocations: 361.7 kB / 0.5716 GB, free: 10.28 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00827/0.6365, allocations: 6.874 MB / 0.5783 GB, free: 3.383 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00633/0.6428, allocations: 5.73 MB / 0.5839 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/0.6428, allocations: 12 kB / 0.5839 GB, free: 13.63 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.6429, allocations: 27.86 kB / 0.5839 GB, free: 13.6 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/0.662, allocations: 13.46 MB / 0.5971 GB, free: 8 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/0.662, allocations: 16.27 kB / 0.5971 GB, free: 15.99 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.6637, allocations: 0.7956 MB / 0.5979 GB, free: 15.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.6659, allocations: 1.051 MB / 0.5989 GB, free: 14.14 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/0.6662, allocations: 116 kB / 0.599 GB, free: 14.02 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009723/0.6759, allocations: 10.15 MB / 0.6089 GB, free: 3.684 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.6759, allocations: 23.88 kB / 0.6089 GB, free: 3.66 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/0.688, allocations: 10.67 MB / 0.6193 GB, free: 8.758 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/0.6902, allocations: 0.9649 MB / 0.6203 GB, free: 7.789 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/0.6906, allocations: 95.98 kB / 0.6204 GB, free: 7.695 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.6919, allocations: 267.7 kB / 0.6206 GB, free: 7.434 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005088/0.6925, allocations: 367 kB / 0.621 GB, free: 7.074 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/0.6927, allocations: 144 kB / 0.6211 GB, free: 6.934 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002511/0.6952, allocations: 2.093 MB / 0.6232 GB, free: 4.836 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6952, allocations: 4 kB / 0.6232 GB, free: 4.832 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005491/0.7007, allocations: 2.251 MB / 0.6254 GB, free: 2.574 MB / 490.8 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.0007033/0.7014, allocations: 296.4 kB / 0.6256 GB, free: 2.277 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.1775/0.8789, allocations: 7.159 MB / 0.6326 GB, free: 172.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/0.8789, allocations: 0 / 0.6326 GB, free: 172.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.8834, allocations: 3.416 MB / 0.636 GB, free: 171.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.8865, allocations: 0.7858 MB / 0.6367 GB, free: 171.1 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/0.9096, allocations: 15.9 MB / 0.6523 GB, free: 162.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006777/0.9163, allocations: 5.291 MB / 0.6574 GB, free: 158.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/0.9178, allocations: 396.2 kB / 0.6578 GB, free: 157.9 MB / 490.8 MB Notification: Performance of SimCode: time 2.104e-06/0.9178, allocations: 3.938 kB / 0.6578 GB, free: 157.9 MB / 490.8 MB Notification: Performance of Templates: time 0.3301/1.248, allocations: 199.6 MB / 0.8528 GB, free: 130.6 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 11.743353860452771]