Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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 3.2.3+maint.om/package.mo", uses=false) 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.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.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 99.12 kB / 16.94 MB, free: 6.441 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.001345/0.001345, allocations: 187.5 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004602, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.003786/0.1392, allocations: 3.016 MB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1419, allocations: 1.357 MB / 332.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.1421, allocations: 12 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.1425, allocations: 127.3 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1437, allocations: 490.6 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.1444, allocations: 347 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.1449, allocations: 339.1 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.1463, allocations: 0.688 MB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.1466, allocations: 183.3 kB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.147, allocations: 227.1 kB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.1471, allocations: 24 kB / 335.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.1475, allocations: 163.8 kB / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/0.1477, allocations: 87.59 kB / 335.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1478, allocations: 101.5 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.1485, allocations: 0.5223 MB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1485, allocations: 0 / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1485, allocations: 0 / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1485, allocations: 0 / 336 MB, free: 12.39 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002236/0.1508, allocations: 0.8504 MB / 336.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.1508, allocations: 12.03 kB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004044/0.1549, allocations: 0.5925 MB / 337.4 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.1554, allocations: 318.4 kB / 337.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.1554, allocations: 41.31 kB / 337.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.1555, allocations: 59.91 kB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1565, allocations: 0.557 MB / 338.4 MB, free: 9.871 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1566, allocations: 3.984 kB / 338.4 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.1566, allocations: 24 kB / 338.4 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.1567, allocations: 23.92 kB / 338.4 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.1578, allocations: 0.6493 MB / 339.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.1609, allocations: 2.048 MB / 341.1 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.1635, allocations: 2.995 MB / 344.1 MB, free: 3.438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.654e-05/0.1636, allocations: 93.53 kB / 344.2 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1637, allocations: 43 kB / 344.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.425e-06/0.1637, allocations: 0 / 344.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001733/0.1654, allocations: 0.7744 MB / 345 MB, free: 2.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.1655, allocations: 59.78 kB / 345.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1657, allocations: 205 kB / 345.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1658, allocations: 33.7 kB / 345.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1659, allocations: 236.1 kB / 345.6 MB, free: 1.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1661, allocations: 169.5 kB / 345.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.1661, allocations: 12 kB / 345.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1662, allocations: 338.8 kB / 346.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.1665, allocations: 173 kB / 346.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.1669, allocations: 286 kB / 346.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1673, allocations: 208.7 kB / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1673, allocations: 3.938 kB / 346.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001012/0.1683, allocations: 0.5905 MB / 347.3 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1683, allocations: 19.88 kB / 347.3 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1684, allocations: 4 kB / 347.3 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.1687, allocations: 84.83 kB / 347.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.1692, allocations: 111.8 kB / 347.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.171, allocations: 1.671 MB / 349.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.1713, allocations: 63.42 kB / 349.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.1713, allocations: 20 kB / 349.3 MB, free: 14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.1716, allocations: 169.7 kB / 349.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.1716, allocations: 27.67 kB / 349.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.1728, allocations: 0.5746 MB / 350.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1728, allocations: 4 kB / 350.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1728, allocations: 4 kB / 350.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1728, allocations: 3.984 kB / 350.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.1749, allocations: 1.184 MB / 351.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1749, allocations: 4 kB / 351.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1753, allocations: 87.89 kB / 351.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002544/0.1756, allocations: 76.8 kB / 351.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.1756, allocations: 12 kB / 351.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.1774, allocations: 1.66 MB / 353.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1774, allocations: 4.062 kB / 353.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.1788, allocations: 0.8311 MB / 353.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1789, allocations: 120.6 kB / 354 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.179, allocations: 11.94 kB / 354 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1792, allocations: 23.98 kB / 354.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.1793, allocations: 32.45 kB / 354.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.1793, allocations: 20 kB / 354.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.1795, allocations: 148.1 kB / 354.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1795, allocations: 3.938 kB / 354.3 MB, free: 8.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006413/0.1802, allocations: 155.5 kB / 354.4 MB, free: 8.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000266/0.1804, allocations: 131.2 kB / 354.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1816, allocations: 0.6127 MB / 355.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1816, allocations: 0 / 355.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.1822, allocations: 397.8 kB / 355.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1825, allocations: 28.11 kB / 355.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1842, allocations: 1.046 MB / 356.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.1848, allocations: 0.8333 MB / 357.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.185, allocations: 51.27 kB / 357.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.1852, allocations: 39.42 kB / 357.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1852, allocations: 0 / 357.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Templates: time 0.00902/0.1942, allocations: 4.033 MB / 361.6 MB, free: 1.371 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches