Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008292, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 149 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9472/0.9472, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.527e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008878/0.008903, allocations: 6.932 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.01374, allocations: 2.16 MB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.01485, allocations: 63.62 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.01597, allocations: 464.8 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.01863, allocations: 0.9047 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.01975, allocations: 367.1 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004368/0.02412, allocations: 3.251 MB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.02657, allocations: 1.548 MB / 284.1 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.02985, allocations: 2.371 MB / 286.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.03171, allocations: 1.809 MB / 288.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004467/0.03215, allocations: 356 kB / 288.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.03284, allocations: 467.7 kB / 289.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.03337, allocations: 0.9465 MB / 290 MB, free: 484 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1099/0.1432, allocations: 1.107 MB / 291.1 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.1473, allocations: 2.751 MB / 293.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1473, allocations: 1.188 kB / 293.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1473, allocations: 0 / 293.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.1474, allocations: 1.281 kB / 293.9 MB, free: 18.95 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.007779/0.1552, allocations: 3.615 MB / 297.5 MB, free: 17.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1553, allocations: 11 kB / 297.5 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.1583, allocations: 0.8765 MB / 298.4 MB, free: 17.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.1632, allocations: 1.432 MB / 299.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.1634, allocations: 200.1 kB / 300 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005984/0.164, allocations: 266.5 kB / 300.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.1682, allocations: 2.099 MB / 302.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.549e-05/0.1683, allocations: 5.188 kB / 302.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.1685, allocations: 112 kB / 302.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.1687, allocations: 103.4 kB / 302.6 MB, free: 16.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.1707, allocations: 0.7363 MB / 303.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.1814, allocations: 7.594 MB / 310.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.1837, allocations: 1.212 MB / 312.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.1843, allocations: 400.3 kB / 312.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002506/0.1868, allocations: 1.674 MB / 314.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1868, allocations: 50.95 kB / 314.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/0.1868, allocations: 0 / 314.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.002982/0.1898, allocations: 1.458 MB / 315.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.1898, allocations: 90.11 kB / 315.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.1905, allocations: 1.102 MB / 316.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.1905, allocations: 41.7 kB / 316.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.1909, allocations: 1.298 MB / 318.2 MB, free: 6.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.191, allocations: 397.7 kB / 318.6 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.1912, allocations: 242.6 kB / 318.8 MB, free: 6.242 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.1913, allocations: 0.5526 MB / 319.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1915, allocations: 134.5 kB / 319.5 MB, free: 5.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.1917, allocations: 0.5382 MB / 320.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.1922, allocations: 0.7698 MB / 320.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1922, allocations: 0 / 320.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0009628/0.1932, allocations: 1.045 MB / 321.9 MB, free: 3.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1932, allocations: 20.06 kB / 321.9 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1932, allocations: 8 kB / 321.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/0.1938, allocations: 350.1 kB / 322.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.1941, allocations: 202.3 kB / 322.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.1972, allocations: 5.638 MB / 328.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.1975, allocations: 107.2 kB / 328.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.1976, allocations: 43.98 kB / 328.2 MB, free: 12.61 MB / 282.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,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.198, allocations: 222.3 kB / 328.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1982, allocations: 175.1 kB / 328.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009921/0.1992, allocations: 0.8792 MB / 329.5 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1992, allocations: 12 kB / 329.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.1992, allocations: 15.92 kB / 329.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1992, allocations: 3.984 kB / 329.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.2035, allocations: 2.803 MB / 332.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2035, allocations: 4 kB / 332.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.2039, allocations: 117.5 kB / 332.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009076/0.2048, allocations: 366.4 kB / 332.8 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-05/0.2049, allocations: 27.98 kB / 332.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004856/0.2098, allocations: 5.631 MB / 338.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2098, allocations: 3.938 kB / 338.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.2117, allocations: 1.329 MB / 339.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.2119, allocations: 153.8 kB / 339.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.2121, allocations: 31.98 kB / 340 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.2126, allocations: 59.97 kB / 340 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.2128, allocations: 92.77 kB / 340.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.2129, allocations: 27.98 kB / 340.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007297/0.2136, allocations: 0.5966 MB / 340.8 MB, free: 284 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2136, allocations: 0 / 340.8 MB, free: 284 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.002004/0.2156, allocations: 0.6775 MB / 341.4 MB, free: 15.59 MB / 298.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,loss_m.Phi.re,loss_m.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.0002603/0.2159, allocations: 164 kB / 341.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.2175, allocations: 1.161 MB / 342.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2175, allocations: 0 / 342.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2186, allocations: 0.8855 MB / 343.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.2199, allocations: 278.4 kB / 343.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.2267, allocations: 3.953 MB / 347.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.2274, allocations: 0.7689 MB / 348.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.2277, allocations: 170.8 kB / 348.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.2282, allocations: 370 kB / 349.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2282, allocations: 0 / 349.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of Templates: time 0.02735/0.2556, allocations: 21.62 MB / 370.8 MB, free: 2.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.1498746955767274]