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.001502/0.001502, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.00164/0.00164, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.403/1.403, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 51.45 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.135, allocations: 49.45 MB / 350.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.006402/0.1415, allocations: 2.882 MB / 353.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1435, allocations: 0.6816 MB / 354.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.1439, allocations: 4 kB / 354.3 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1442, allocations: 67.36 kB / 354.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1446, allocations: 79.2 kB / 354.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.1451, allocations: 103.8 kB / 354.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.1458, allocations: 374.9 kB / 354.9 MB, free: 192 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.1463, allocations: 168.4 kB / 355.1 MB, free: 20 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1466, allocations: 147.5 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1469, allocations: 159.3 kB / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1471, allocations: 32 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.1472, allocations: 36 kB / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.1473, allocations: 71.77 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.1475, allocations: 167.2 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.1481, allocations: 378.9 kB / 356 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1481, allocations: 0 / 356 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1481, allocations: 7.922 kB / 356 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.1481, allocations: 4 kB / 356.1 MB, free: 15.04 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.001459/0.1496, allocations: 0.6238 MB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.1497, allocations: 16.02 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1498, allocations: 36.47 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.1503, allocations: 260.3 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.1503, allocations: 25.03 kB / 357 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.1504, allocations: 28.38 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.1512, allocations: 282.4 kB / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1513, allocations: 0 / 357.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.1513, allocations: 19.98 kB / 357.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1513, allocations: 8 kB / 357.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.1521, allocations: 214.5 kB / 357.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.1542, allocations: 1.034 MB / 358.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1546, allocations: 158.5 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.1549, allocations: 140.4 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1549, allocations: 3.938 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.155, allocations: 38.56 kB / 358.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.624e-06/0.155, allocations: 0 / 358.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006111/0.1556, allocations: 221.7 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1557, allocations: 51.41 kB / 359.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1559, allocations: 223 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.1559, allocations: 25.7 kB / 359.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1561, allocations: 196 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.1562, allocations: 78.89 kB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.1562, allocations: 45.98 kB / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1564, allocations: 334.8 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1566, allocations: 68.52 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.1568, allocations: 147.4 kB / 360.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.1572, allocations: 221.2 kB / 360.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1572, allocations: 0 / 360.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005501/0.1578, allocations: 281.1 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1578, allocations: 4 kB / 360.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1578, allocations: 4 kB / 360.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1578, allocations: 4 kB / 360.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.1581, allocations: 71.89 kB / 360.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1582, allocations: 7.938 kB / 360.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1583, allocations: 31.73 kB / 360.9 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1584, allocations: 8 kB / 360.9 MB, free: 9.879 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.0001351/0.1585, allocations: 153.8 kB / 361 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.1586, allocations: 23.75 kB / 361.1 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.159, allocations: 194.6 kB / 361.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.159, allocations: 4 kB / 361.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.159, allocations: 0 / 361.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1591, allocations: 0 / 361.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008547/0.1599, allocations: 0.6077 MB / 361.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1599, allocations: 0 / 361.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.1602, allocations: 59.91 kB / 361.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1603, allocations: 0 / 361.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1603, allocations: 8 kB / 361.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1603, allocations: 0 / 361.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1603, allocations: 64 / 361.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1609, allocations: 385.1 kB / 362.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.161, allocations: 100.9 kB / 362.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1611, allocations: 0 / 362.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1613, allocations: 28.11 kB / 362.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1613, allocations: 15.97 kB / 362.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1613, allocations: 7.938 kB / 362.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1615, allocations: 152.7 kB / 362.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1615, allocations: 4 kB / 362.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.1619, allocations: 75.62 kB / 362.7 MB, free: 7.969 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.0001418/0.162, allocations: 111.2 kB / 362.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.1625, allocations: 179.7 kB / 363 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1625, allocations: 0 / 363 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1627, allocations: 80.52 kB / 363 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1631, allocations: 32.66 kB / 363.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1646, allocations: 0.8688 MB / 363.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1649, allocations: 0.7674 MB / 364.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.165, allocations: 19.44 kB / 364.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.165, allocations: 8 kB / 364.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Templates: time 0.005544/0.1706, allocations: 2.944 MB / 367.7 MB, free: 2.891 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/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