Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 62.52 kB / 306.9 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 50.53 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.005129/0.1468, allocations: 2.905 MB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1486, allocations: 0.7166 MB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.1489, allocations: 4 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.1492, allocations: 63.38 kB / 361.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.1494, allocations: 87.19 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1497, allocations: 91.88 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.1502, allocations: 378.9 kB / 361.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/0.1505, allocations: 168.5 kB / 361.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003452/0.1509, allocations: 155.5 kB / 362 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1511, allocations: 155.3 kB / 362.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.1512, allocations: 32 kB / 362.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.1512, allocations: 32 kB / 362.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1513, allocations: 75.77 kB / 362.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.1515, allocations: 179.1 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.1519, allocations: 378.9 kB / 362.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1519, allocations: 4 kB / 362.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1519, allocations: 0 / 362.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1519, allocations: 0 / 362.9 MB, free: 8.664 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.001097/0.153, allocations: 0.6199 MB / 363.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1531, allocations: 8.031 kB / 363.5 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1532, allocations: 40.47 kB / 363.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1536, allocations: 263.7 kB / 363.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1536, allocations: 24.97 kB / 363.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.1537, allocations: 36.38 kB / 363.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.1543, allocations: 282.4 kB / 364.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1543, allocations: 4 kB / 364.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.1544, allocations: 8 kB / 364.1 MB, free: 7.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1544, allocations: 8 kB / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.1549, allocations: 214.5 kB / 364.3 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.1567, allocations: 1.034 MB / 365.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1572, allocations: 158.5 kB / 365.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.1575, allocations: 128.8 kB / 365.7 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.1576, allocations: 7.938 kB / 365.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.1576, allocations: 34.56 kB / 365.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.1576, allocations: 0 / 365.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006942/0.1583, allocations: 220.1 kB / 365.9 MB, free: 5.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.1584, allocations: 59.33 kB / 366 MB, free: 5.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.1587, allocations: 223 kB / 366.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1587, allocations: 29.7 kB / 366.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1589, allocations: 195.9 kB / 366.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.159, allocations: 74.94 kB / 366.5 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1591, allocations: 53.98 kB / 366.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1593, allocations: 330.8 kB / 366.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1595, allocations: 64.53 kB / 366.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1598, allocations: 143.4 kB / 367.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.1603, allocations: 229.1 kB / 367.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1603, allocations: 0 / 367.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006727/0.1609, allocations: 269 kB / 367.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.161, allocations: 10.97 kB / 367.6 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.161, allocations: 0 / 367.6 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.1611, allocations: 4 kB / 367.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.1614, allocations: 75.89 kB / 367.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.1614, allocations: 7.938 kB / 367.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.1616, allocations: 32 kB / 367.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1617, allocations: 12 kB / 367.7 MB, free: 3.52 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.0002001/0.1619, allocations: 145.7 kB / 367.8 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.1619, allocations: 23.75 kB / 367.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.1624, allocations: 202.9 kB / 368.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1624, allocations: 11.92 kB / 368.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1624, allocations: 4 kB / 368.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1624, allocations: 0 / 368.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/0.1633, allocations: 0.6051 MB / 368.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1634, allocations: 4 kB / 368.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.1636, allocations: 47.97 kB / 368.7 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1637, allocations: 8.062 kB / 368.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1637, allocations: 8 kB / 368.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1637, allocations: 4 kB / 368.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1637, allocations: 0 / 368.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.1643, allocations: 382.8 kB / 369.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.1644, allocations: 88.92 kB / 369.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1645, allocations: 8.062 kB / 369.2 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1647, allocations: 15.98 kB / 369.2 MB, free: 1.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.1648, allocations: 11.98 kB / 369.2 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.1648, allocations: 7.984 kB / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.165, allocations: 152.7 kB / 369.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.165, allocations: 4 kB / 369.4 MB, free: 1.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.1654, allocations: 83.62 kB / 369.5 MB, free: 1.605 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.0002375/0.1657, allocations: 107.2 kB / 369.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.1663, allocations: 186.3 kB / 369.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1663, allocations: 0.5 kB / 369.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1665, allocations: 83.89 kB / 369.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.1671, allocations: 24.67 kB / 369.9 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.1692, allocations: 0.8478 MB / 370.7 MB, free: 332 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2365/0.4058, allocations: 0.7603 MB / 371.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.406, allocations: 22.42 kB / 371.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.4061, allocations: 20.09 kB / 371.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4061, allocations: 5.297 kB / 371.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of Templates: time 0.006794/0.4129, allocations: 2.046 MB / 373.6 MB, free: 19.46 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches