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.001756/0.001756, allocations: 114.6 kB / 17.7 MB, free: 5.309 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.002119/0.002119, allocations: 191 kB / 18.63 MB, free: 4.379 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.584/1.584, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 49.52 kB / 302.1 MB, free: 5.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1572, allocations: 49.45 MB / 351.5 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.005805/0.1631, allocations: 2.885 MB / 354.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1646, allocations: 0.6855 MB / 355.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1648, allocations: 7.938 kB / 355.1 MB, free: 132 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1651, allocations: 63.42 kB / 355.1 MB, free: 68 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1653, allocations: 79.31 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1657, allocations: 99.81 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.1663, allocations: 378.8 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.1667, allocations: 168.4 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.167, allocations: 143.5 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1672, allocations: 159.3 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.1673, allocations: 35.94 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.1674, allocations: 32 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1675, allocations: 79.75 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.1677, allocations: 167.1 kB / 356.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.1683, allocations: 386.6 kB / 356.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.1683, allocations: 0 / 356.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1683, allocations: 8 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.1683, allocations: 0 / 356.8 MB, free: 14.36 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.001427/0.1698, allocations: 0.616 MB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001074/0.1699, allocations: 8.031 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.17, allocations: 40.47 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.1707, allocations: 264.2 kB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.1707, allocations: 29.03 kB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.1708, allocations: 28.38 kB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.1715, allocations: 286.3 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1715, allocations: 3.938 kB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.1715, allocations: 20 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1716, allocations: 4 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004778/0.1721, allocations: 214.5 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.1738, allocations: 1.022 MB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.1741, allocations: 158.6 kB / 359.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.1744, allocations: 132.8 kB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1745, allocations: 7.922 kB / 359.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1745, allocations: 34.56 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.113e-06/0.1745, allocations: 4 kB / 359.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005928/0.1751, allocations: 225.6 kB / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.1752, allocations: 51.41 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1754, allocations: 219 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1755, allocations: 29.7 kB / 360.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1756, allocations: 192 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.411e-05/0.1757, allocations: 70.95 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/0.1758, allocations: 53.98 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.176, allocations: 330.8 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.1762, allocations: 68.52 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.1765, allocations: 147.3 kB / 361 MB, free: 9.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1769, allocations: 229.1 kB / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1769, allocations: 0 / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004977/0.1774, allocations: 281 kB / 361.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1775, allocations: 8 kB / 361.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1775, allocations: 4 kB / 361.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1775, allocations: 4 kB / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.1778, allocations: 71.89 kB / 361.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1778, allocations: 4 kB / 361.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.178, allocations: 31.73 kB / 361.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1781, allocations: 8.219 kB / 361.7 MB, free: 9.211 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.0001792/0.1782, allocations: 149.7 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.1783, allocations: 23.75 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.1788, allocations: 198.3 kB / 362 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1788, allocations: 4 kB / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1788, allocations: 0 / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1788, allocations: 0 / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1798, allocations: 0.608 MB / 362.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1799, allocations: 0 / 362.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.1802, allocations: 59.91 kB / 362.7 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1802, allocations: 3.938 kB / 362.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.1802, allocations: 8 kB / 362.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1802, allocations: 0 / 362.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.1802, allocations: 4.062 kB / 362.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.1809, allocations: 377.1 kB / 363.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.181, allocations: 92.98 kB / 363.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.181, allocations: 8 kB / 363.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.1812, allocations: 15.98 kB / 363.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.1813, allocations: 19.97 kB / 363.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1813, allocations: 4 kB / 363.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1815, allocations: 152.7 kB / 363.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1815, allocations: 0 / 363.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.182, allocations: 79.62 kB / 363.5 MB, free: 7.312 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.0001707/0.1821, allocations: 107.2 kB / 363.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.1826, allocations: 183.7 kB / 363.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1826, allocations: 0 / 363.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1828, allocations: 80.52 kB / 363.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1832, allocations: 32.8 kB / 363.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1849, allocations: 0.8359 MB / 364.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.1855, allocations: 0.7713 MB / 365.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.1856, allocations: 21.94 kB / 365.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.1857, allocations: 23.44 kB / 365.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of SimCode: time 1.964e-06/0.1857, allocations: 0 / 365.5 MB, free: 5.191 MB / 302.1 MB Notification: Performance of Templates: time 0.006643/0.1924, allocations: 2.045 MB / 367.5 MB, free: 3.168 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/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