Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.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 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.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 90.83 kB / 16.65 MB, free: 6.598 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.001541/0.001541, allocations: 180 kB / 17.56 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 223.2 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004986, allocations: 11.94 kB / 301.4 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 50.41 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003787/0.1538, allocations: 2.545 MB / 354.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1554, allocations: 0.6739 MB / 355 MB, free: 220 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.1558, allocations: 4 kB / 355.1 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1561, allocations: 43.62 kB / 355.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1565, allocations: 79.38 kB / 355.2 MB, free: 92 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.1569, allocations: 71.94 kB / 355.2 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000589/0.1575, allocations: 362.9 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.1578, allocations: 152.8 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1581, allocations: 119.5 kB / 355.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1583, allocations: 131.3 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.1583, allocations: 16 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.1584, allocations: 19.94 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.1585, allocations: 55.77 kB / 356.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1586, allocations: 168.9 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.159, allocations: 358.8 kB / 356.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.159, allocations: 0 / 356.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.159, allocations: 4 kB / 356.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1591, allocations: 0 / 356.6 MB, free: 14.65 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009781/0.16, allocations: 0.5654 MB / 357.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.1601, allocations: 12.03 kB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.1602, allocations: 36.5 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1606, allocations: 263.6 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.1606, allocations: 29.03 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.1607, allocations: 32.38 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.1613, allocations: 290.4 kB / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1613, allocations: 0 / 357.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.1613, allocations: 12 kB / 357.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1614, allocations: 8 kB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/0.1619, allocations: 230.4 kB / 358.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.1637, allocations: 1.041 MB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.1641, allocations: 162.5 kB / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.1645, allocations: 132.8 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1645, allocations: 3.938 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1645, allocations: 38.55 kB / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.1645, allocations: 0 / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006379/0.1652, allocations: 236.6 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.1652, allocations: 55.41 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1655, allocations: 223.1 kB / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1655, allocations: 25.7 kB / 360 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1657, allocations: 192 kB / 360.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.1658, allocations: 78.84 kB / 360.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.1659, allocations: 29.7 kB / 360.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.166, allocations: 330.8 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1662, allocations: 68.53 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.1665, allocations: 159.3 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.1669, allocations: 241.1 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1669, allocations: 0 / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005203/0.1674, allocations: 281.1 kB / 361.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1675, allocations: 4 kB / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1675, allocations: 7.984 kB / 361.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1675, allocations: 4 kB / 361.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.1678, allocations: 71.84 kB / 361.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1678, allocations: 4.25 kB / 361.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.168, allocations: 43.73 kB / 361.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.168, allocations: 8 kB / 361.4 MB, free: 9.484 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001509/0.1682, allocations: 149.7 kB / 361.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.1683, allocations: 27.66 kB / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.1687, allocations: 206.6 kB / 361.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1687, allocations: 11.92 kB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1687, allocations: 0 / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1688, allocations: 0 / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.1697, allocations: 0.6091 MB / 362.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.1697, allocations: 0 / 362.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.17, allocations: 63.95 kB / 362.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.17, allocations: 0 / 362.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.17, allocations: 4 kB / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.17, allocations: 12 kB / 362.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.17, allocations: 3.938 kB / 362.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.1707, allocations: 390.2 kB / 362.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.1708, allocations: 100.9 kB / 363 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.1708, allocations: 4 kB / 363 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.171, allocations: 23.92 kB / 363 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.1711, allocations: 19.98 kB / 363 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1711, allocations: 4 kB / 363.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1712, allocations: 160.6 kB / 363.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1712, allocations: 0 / 363.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.1716, allocations: 79.62 kB / 363.3 MB, free: 7.523 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * 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.0001527/0.1718, allocations: 103.2 kB / 363.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.1723, allocations: 183.7 kB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1723, allocations: 0 / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.1725, allocations: 95.27 kB / 363.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1729, allocations: 25.31 kB / 363.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1745, allocations: 1.078 MB / 364.8 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1749, allocations: 0.7677 MB / 365.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.175, allocations: 25.94 kB / 365.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.175, allocations: 23.42 kB / 365.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.175, allocations: 0 / 365.6 MB, free: 5.168 MB / 302.1 MB Notification: Performance of Templates: time 0.005468/0.1805, allocations: 1.885 MB / 367.5 MB, free: 3.301 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches