Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.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.0009354/0.0009354, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009518/0.0009518, allocations: 159.9 kB / 25.75 MB, free: 8.582 MB / 18.57 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 0.8358/0.8358, allocations: 158.6 MB / 187.6 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.69e-05, allocations: 2.312 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008868/0.008895, allocations: 7.033 MB / 258.1 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.01329, allocations: 2.212 MB / 260.3 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005956/0.01389, allocations: 55.62 kB / 260.4 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009389/0.01483, allocations: 468.7 kB / 260.9 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.01693, allocations: 0.8542 MB / 261.7 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007679/0.0177, allocations: 379.2 kB / 262.1 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.02159, allocations: 3.24 MB / 265.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.02391, allocations: 1.528 MB / 266.9 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.02683, allocations: 2.105 MB / 269 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.02962, allocations: 1.68 MB / 270.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007918/0.03041, allocations: 360 kB / 271 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009312/0.03134, allocations: 479.7 kB / 271.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006193/0.03196, allocations: 0.9464 MB / 272.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.03302, allocations: 1.115 MB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.0354, allocations: 2.781 MB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.0354, allocations: 4 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.0354, allocations: 0 / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.057e-05/0.03549, allocations: 0 / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.005112/0.04061, allocations: 3.838 MB / 280.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.04065, allocations: 11.98 kB / 280.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.04301, allocations: 1.033 MB / 281.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.04467, allocations: 1.461 MB / 282.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.04478, allocations: 205.7 kB / 282.8 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.04503, allocations: 268.3 kB / 283.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.04779, allocations: 2.271 MB / 285.4 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.832e-05/0.04783, allocations: 3.938 kB / 285.4 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.04802, allocations: 108 kB / 285.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.18e-05/0.0481, allocations: 105.4 kB / 285.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.04994, allocations: 0.9645 MB / 286.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008415/0.05835, allocations: 8.306 MB / 294.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.06034, allocations: 1.43 MB / 296.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005516/0.06089, allocations: 452.8 kB / 296.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/0.06271, allocations: 1.766 MB / 298.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.06275, allocations: 50.39 kB / 298.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.826e-06/0.06275, allocations: 0 / 298.5 MB, free: 7.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.00306/0.06581, allocations: 1.587 MB / 300.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.06585, allocations: 90.11 kB / 300.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.06683, allocations: 1.142 MB / 301.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.06688, allocations: 41.7 kB / 301.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.06748, allocations: 1.276 MB / 302.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.0677, allocations: 388.8 kB / 303.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.06794, allocations: 240.5 kB / 303.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.06811, allocations: 0.5511 MB / 303.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.0684, allocations: 170.5 kB / 304 MB, free: 2.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.06887, allocations: 0.5765 MB / 304.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.06969, allocations: 0.8514 MB / 305.4 MB, free: 300 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.06969, allocations: 0 / 305.4 MB, free: 300 kB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001601/0.0713, allocations: 1.144 MB / 306.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.07132, allocations: 8 kB / 306.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.07133, allocations: 8 kB / 306.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008282/0.07216, allocations: 390.8 kB / 307 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.07259, allocations: 211.6 kB / 307.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004058/0.07665, allocations: 5.829 MB / 313 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.07707, allocations: 135.1 kB / 313.2 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.07713, allocations: 55.98 kB / 313.2 MB, free: 8.258 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006003/0.07773, allocations: 232.1 kB / 313.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.0779, allocations: 171.2 kB / 313.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.07915, allocations: 0.9533 MB / 314.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.07916, allocations: 8 kB / 314.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.07916, allocations: 12 kB / 314.6 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.07917, allocations: 3.984 kB / 314.6 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.08231, allocations: 2.902 MB / 317.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.08232, allocations: 4 kB / 317.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.0826, allocations: 131.8 kB / 317.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006799/0.08328, allocations: 395.4 kB / 318 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.08334, allocations: 39.92 kB / 318 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/0.08733, allocations: 5.821 MB / 323.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.08733, allocations: 0 / 323.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.08894, allocations: 1.447 MB / 325.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.0891, allocations: 162.8 kB / 325.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.0892, allocations: 35.98 kB / 325.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.08956, allocations: 83.91 kB / 325.6 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.08975, allocations: 108.8 kB / 325.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.08979, allocations: 27.98 kB / 325.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005952/0.09039, allocations: 0.6459 MB / 326.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09039, allocations: 0 / 326.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001388/0.09177, allocations: 0.6891 MB / 327.1 MB, free: 9.992 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/0.09204, allocations: 155 kB / 327.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.09359, allocations: 1.219 MB / 328.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.09359, allocations: 3.938 kB / 328.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008178/0.09441, allocations: 0.9179 MB / 329.3 MB, free: 7.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.09523, allocations: 300.2 kB / 329.6 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.09972, allocations: 4 MB / 333.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.1003, allocations: 0.7574 MB / 334.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.1008, allocations: 270.6 kB / 334.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.1009, allocations: 92.48 kB / 334.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1009, allocations: 0 / 334.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of Templates: time 0.1263/0.2272, allocations: 20.52 MB / 355.3 MB, free: 102 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.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/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3020303789526224]