Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001481/0.001481, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001545/0.001545, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9035/0.9035, allocations: 173.4 MB / 202.3 MB, free: 8.277 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.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.46e-05, allocations: 2.312 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003017/0.003031, allocations: 3.233 MB / 272.4 MB, free: 6.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004339, allocations: 1.245 MB / 273.7 MB, free: 5.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.004478, allocations: 8 kB / 273.7 MB, free: 5.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.004786, allocations: 151.4 kB / 273.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.005418, allocations: 435.7 kB / 274.2 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.005625, allocations: 173.4 kB / 274.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.006042, allocations: 467 kB / 274.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.006195, allocations: 96.81 kB / 275 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.006428, allocations: 287.4 kB / 275.2 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.006613, allocations: 171.5 kB / 275.4 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.00665, allocations: 36 kB / 275.5 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.006828, allocations: 151.7 kB / 275.6 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.006872, allocations: 83.67 kB / 275.7 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.00696, allocations: 135.6 kB / 275.8 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.007321, allocations: 402.5 kB / 276.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007323, allocations: 0 / 276.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007323, allocations: 4 kB / 276.2 MB, free: 2.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.007328, allocations: 0 / 276.2 MB, free: 2.758 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.000813/0.008141, allocations: 0.757 MB / 277 MB, free: 1.965 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.008176, allocations: 12.03 kB / 277 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.008496, allocations: 128.5 kB / 277.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.008722, allocations: 251.9 kB / 277.4 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.00874, allocations: 21.38 kB / 277.4 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.008781, allocations: 40.33 kB / 277.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.009069, allocations: 323.4 kB / 277.7 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.00908, allocations: 4.188 kB / 277.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.009102, allocations: 12.36 kB / 277.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.00911, allocations: 15.88 kB / 277.8 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.009234, allocations: 99.41 kB / 277.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.01031, allocations: 1.226 MB / 279.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.01048, allocations: 146.1 kB / 279.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.01053, allocations: 47.36 kB / 279.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/0.01095, allocations: 0.6938 MB / 280 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.01097, allocations: 41.39 kB / 280 MB, free: 14.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.01097, allocations: 0 / 280 MB, free: 14.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002103/0.01118, allocations: 137.8 kB / 280.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.01121, allocations: 85.09 kB / 280.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.01137, allocations: 326.2 kB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.01138, allocations: 29.7 kB / 280.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01149, allocations: 294.6 kB / 280.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.01152, allocations: 67.45 kB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.01158, allocations: 75.56 kB / 281 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.0117, allocations: 0.5156 MB / 281.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.01174, allocations: 32.62 kB / 281.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.01184, allocations: 215 kB / 281.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.01201, allocations: 281.1 kB / 282 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01202, allocations: 3.938 kB / 282 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002271/0.01224, allocations: 249 kB / 282.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01225, allocations: 8 kB / 282.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01226, allocations: 4.562 kB / 282.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.01227, allocations: 8 kB / 282.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.01242, allocations: 79.91 kB / 282.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01243, allocations: 11.94 kB / 282.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.01252, allocations: 39.7 kB / 282.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01253, allocations: 12 kB / 282.4 MB, free: 12.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.01263, allocations: 180.4 kB / 282.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.01267, allocations: 31.81 kB / 282.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.01271, allocations: 29.8 kB / 282.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01271, allocations: 0 / 282.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01271, allocations: 4.25 kB / 282.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01272, allocations: 4 kB / 282.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.01303, allocations: 413.5 kB / 283.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01303, allocations: 0 / 283.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.01313, allocations: 43.91 kB / 283.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01313, allocations: 7.984 kB / 283.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01314, allocations: 4 kB / 283.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01315, allocations: 4 kB / 283.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01315, allocations: 0 / 283.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.01337, allocations: 436.8 kB / 283.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.0134, allocations: 23.8 kB / 283.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.01342, allocations: 7.984 kB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.01352, allocations: 8 kB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.01355, allocations: 23.91 kB / 283.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.01356, allocations: 0 / 283.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.01364, allocations: 207 kB / 283.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01364, allocations: 0 / 283.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000247/0.01389, allocations: 87.78 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.213e-05/0.01398, allocations: 115.3 kB / 284 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.01415, allocations: 143.8 kB / 284.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01415, allocations: 0 / 284.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.395e-05/0.01421, allocations: 47.59 kB / 284.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01446, allocations: 24.98 kB / 284.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008251/0.01529, allocations: 0.5998 MB / 284.8 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.01534, allocations: 92.3 kB / 284.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.01542, allocations: 34.27 kB / 285 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01552, allocations: 106.2 kB / 285.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01552, allocations: 0 / 285.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of Templates: time 0.004276/0.0198, allocations: 2.456 MB / 287.5 MB, free: 6.844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.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: 2.619109229184687]