Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001955/0.001955, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002428/0.002428, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.51/1.51, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.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.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.625e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01036/0.01039, allocations: 6.932 MB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.01556, allocations: 2.409 MB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00089/0.01645, allocations: 67.56 kB / 281.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.01755, allocations: 472.7 kB / 282.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.02024, allocations: 0.893 MB / 283.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.02124, allocations: 402.2 kB / 283.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004691/0.02593, allocations: 3.332 MB / 286.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.02835, allocations: 1.552 MB / 288.4 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1191/0.1474, allocations: 2.102 MB / 290.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.1501, allocations: 1.531 MB / 292 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007629/0.1509, allocations: 357.8 kB / 292.3 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.1521, allocations: 491.8 kB / 292.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007811/0.1529, allocations: 0.9307 MB / 293.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.1547, allocations: 1.104 MB / 294.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.1596, allocations: 4.774 MB / 299.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1596, allocations: 0 / 299.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1596, allocations: 1.25 kB / 299.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001103/0.1598, allocations: 0 / 299.6 MB, free: 15.58 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.00889/0.1686, allocations: 3.621 MB / 303.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1687, allocations: 13.72 kB / 303.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/0.1731, allocations: 1.069 MB / 304.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.1763, allocations: 1.856 MB / 306.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.1764, allocations: 198.2 kB / 306.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/0.1768, allocations: 269.3 kB / 306.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005528/0.1824, allocations: 3.853 MB / 310.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.854e-05/0.1824, allocations: 0 / 310.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.1827, allocations: 112.6 kB / 310.6 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.011e-05/0.1828, allocations: 104 kB / 310.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/0.187, allocations: 3.092 MB / 313.8 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.2013, allocations: 9.11 MB / 322.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/0.2056, allocations: 1.752 MB / 324.7 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.2072, allocations: 0.8783 MB / 325.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004401/0.2116, allocations: 2.003 MB / 327.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.2116, allocations: 43.56 kB / 327.6 MB, free: 9.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 6.593e-06/0.2116, allocations: 4 kB / 327.6 MB, free: 9.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.00709/0.2187, allocations: 2.533 MB / 330.1 MB, free: 6.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.2188, allocations: 90.11 kB / 330.2 MB, free: 6.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.2211, allocations: 1.374 MB / 331.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.2212, allocations: 41.7 kB / 331.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.2223, allocations: 1.197 MB / 332.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.2226, allocations: 378.2 kB / 333.2 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.223, allocations: 218.9 kB / 333.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2232, allocations: 349.9 kB / 333.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.2243, allocations: 0.5686 MB / 334.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.2256, allocations: 0.8438 MB / 335.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.2281, allocations: 1.459 MB / 336.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.2281, allocations: 7.938 kB / 336.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004117/0.2322, allocations: 2.012 MB / 338.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.2322, allocations: 8 kB / 338.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.2323, allocations: 8 kB / 338.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.2339, allocations: 0.4964 MB / 339.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.2348, allocations: 216.8 kB / 339.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008835/0.2437, allocations: 6.227 MB / 345.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.2449, allocations: 143.2 kB / 345.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.245, allocations: 54.03 kB / 345.8 MB, free: 6.578 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.001701/0.2467, allocations: 0.8634 MB / 346.7 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.2471, allocations: 179 kB / 346.8 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.2505, allocations: 1.638 MB / 348.5 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.2505, allocations: 12 kB / 348.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.2505, allocations: 7.312 kB / 348.5 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.2506, allocations: 7.984 kB / 348.5 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/0.2575, allocations: 3.374 MB / 351.9 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2576, allocations: 4 kB / 351.9 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.2582, allocations: 134.6 kB / 352 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.2599, allocations: 495.5 kB / 352.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.26, allocations: 31.98 kB / 352.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008682/0.2686, allocations: 6.217 MB / 358.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.2686, allocations: 4.031 kB / 358.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.2734, allocations: 2.498 MB / 361.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.2738, allocations: 178.8 kB / 361.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.274, allocations: 27.98 kB / 361.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008109/0.2748, allocations: 83.91 kB / 361.5 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.2751, allocations: 100.2 kB / 361.6 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.2752, allocations: 35.98 kB / 361.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.2767, allocations: 0.9496 MB / 362.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2767, allocations: 0 / 362.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002119/0.2788, allocations: 0.6852 MB / 363.3 MB, free: 4.891 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,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.0003383/0.2792, allocations: 159.9 kB / 363.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.2825, allocations: 1.745 MB / 365.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2826, allocations: 0 / 365.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.2847, allocations: 1.101 MB / 366.3 MB, free: 1.879 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.2863, allocations: 299.3 kB / 366.6 MB, free: 1.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008472/0.2947, allocations: 4.645 MB / 371.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.2968, allocations: 1.621 MB / 372.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001034/0.2979, allocations: 334.7 kB / 373.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.2982, allocations: 92.47 kB / 373.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2982, allocations: 4 kB / 373.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of Templates: time 0.0408/0.339, allocations: 20.51 MB / 393.8 MB, free: 6.668 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.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: 5.164939336013049]