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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002013, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.075/2.075, allocations: 222.9 MB / 241.7 MB, free: 15.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 42.95 kB / 300.6 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1466, allocations: 49.45 MB / 350.1 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005441/0.1521, allocations: 3.305 MB / 353.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1547, allocations: 1.296 MB / 354.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.155, allocations: 11.94 kB / 354.7 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004958/0.1555, allocations: 123.5 kB / 354.8 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1568, allocations: 422 kB / 355.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1572, allocations: 151.7 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006383/0.1579, allocations: 426.1 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.1582, allocations: 128.7 kB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1584, allocations: 155.3 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.1587, allocations: 195.1 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.1587, allocations: 27.94 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.1591, allocations: 147.9 kB / 356.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.1592, allocations: 71.69 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1594, allocations: 187 kB / 356.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.1599, allocations: 411.2 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1599, allocations: 0 / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1599, allocations: 0 / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1599, allocations: 0 / 357.1 MB, free: 13.79 MB / 302.1 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.001569/0.1615, allocations: 0.741 MB / 357.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1616, allocations: 12.03 kB / 357.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006546/0.1622, allocations: 96.31 kB / 357.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1627, allocations: 308.5 kB / 358.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1627, allocations: 25.38 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.1628, allocations: 32.38 kB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.1634, allocations: 361.6 kB / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1634, allocations: 0 / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.1635, allocations: 12 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1635, allocations: 8 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.164, allocations: 250.1 kB / 358.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.1663, allocations: 1.327 MB / 360.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.1667, allocations: 204.4 kB / 360.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.1669, allocations: 81.69 kB / 360.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/0.1678, allocations: 0.8751 MB / 361.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1678, allocations: 38.55 kB / 361.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.1678, allocations: 0 / 361.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006152/0.1684, allocations: 221.3 kB / 361.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.1685, allocations: 85.05 kB / 361.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.169, allocations: 278.9 kB / 362 MB, free: 8.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1691, allocations: 37.7 kB / 362 MB, free: 8.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.1693, allocations: 239.5 kB / 362.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.1694, allocations: 59.11 kB / 362.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1695, allocations: 66.02 kB / 362.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1698, allocations: 334.8 kB / 362.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.17, allocations: 64.62 kB / 362.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.1704, allocations: 210.3 kB / 363 MB, free: 7.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.1711, allocations: 284.9 kB / 363.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.1711, allocations: 4 kB / 363.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009463/0.1721, allocations: 316.8 kB / 363.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.1721, allocations: 8 kB / 363.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.1722, allocations: 4 kB / 363.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/0.1722, allocations: 11.98 kB / 363.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.1727, allocations: 80.41 kB / 363.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.1727, allocations: 15.94 kB / 363.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.1731, allocations: 35.92 kB / 363.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.1732, allocations: 16 kB / 363.7 MB, free: 6.605 MB / 302.1 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 0.0002626/0.1734, allocations: 153.8 kB / 363.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1736, allocations: 27.62 kB / 363.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.1737, allocations: 29.73 kB / 363.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.1737, allocations: 3.938 kB / 363.9 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.1737, allocations: 3.938 kB / 363.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.1738, allocations: 11.98 kB / 363.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1749, allocations: 0.4991 MB / 364.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1749, allocations: 0 / 364.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1752, allocations: 55.84 kB / 364.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1752, allocations: 0 / 364.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.1752, allocations: 4 kB / 364.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1752, allocations: 4.031 kB / 364.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1752, allocations: 0 / 364.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.1758, allocations: 425.6 kB / 364.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.176, allocations: 112.7 kB / 365 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.176, allocations: 8.062 kB / 365 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.1763, allocations: 19.92 kB / 365.1 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.1764, allocations: 11.98 kB / 365.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1764, allocations: 4 kB / 365.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003596/0.1768, allocations: 198 kB / 365.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1768, allocations: 0 / 365.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006675/0.1775, allocations: 83.75 kB / 365.4 MB, free: 4.871 MB / 302.1 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 0.0002048/0.1777, allocations: 115.2 kB / 365.5 MB, free: 4.746 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.1782, allocations: 188.4 kB / 365.6 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1782, allocations: 0 / 365.6 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1784, allocations: 67.91 kB / 365.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.1789, allocations: 32.77 kB / 365.7 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.1804, allocations: 0.8109 MB / 366.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.1809, allocations: 0.7716 MB / 367.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.181, allocations: 35.42 kB / 367.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.181, allocations: 0 / 367.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of Templates: time 0.248/0.429, allocations: 3.415 MB / 370.8 MB, free: 24.75 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches