Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|derivative.c.v|derivative.opAmp.out.v|derivative.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001264/0.001264, allocations: 177 kB / 17.56 MB, free: 6.18 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.591/1.591, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 11.94 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 50.41 MB / 351.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.003609/0.1552, allocations: 2.752 MB / 354.6 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1569, allocations: 0.7522 MB / 355.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1571, allocations: 7.938 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.1572, allocations: 39.69 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1575, allocations: 95.3 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1579, allocations: 115.8 kB / 355.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.1583, allocations: 418.3 kB / 356 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.1586, allocations: 119.5 kB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.1588, allocations: 155.3 kB / 356.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.159, allocations: 159.2 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.1591, allocations: 20 kB / 356.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.1591, allocations: 20 kB / 356.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.1592, allocations: 55.75 kB / 356.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.1594, allocations: 192.8 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1599, allocations: 462.5 kB / 357.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1599, allocations: 4 kB / 357.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1599, allocations: 0 / 357.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1599, allocations: 0 / 357.2 MB, free: 14.09 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001417/0.1613, allocations: 0.6759 MB / 357.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1614, allocations: 12.03 kB / 357.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.1615, allocations: 36.56 kB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.1619, allocations: 306.7 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1619, allocations: 20.94 kB / 358.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.162, allocations: 28.38 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.1628, allocations: 367.5 kB / 358.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1629, allocations: 0 / 358.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.1629, allocations: 12 kB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1629, allocations: 7.938 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.1638, allocations: 334 kB / 359 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.1663, allocations: 1.329 MB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.167, allocations: 246.4 kB / 360.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.1674, allocations: 136.7 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1675, allocations: 0 / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/0.1681, allocations: 216.8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.1681, allocations: 4 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002698/0.1708, allocations: 0.7565 MB / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.1709, allocations: 110.8 kB / 361.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1713, allocations: 294.9 kB / 362 MB, free: 8.965 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1714, allocations: 29.7 kB / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1715, allocations: 211.5 kB / 362.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.1716, allocations: 51.3 kB / 362.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1717, allocations: 29.7 kB / 362.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1718, allocations: 338.8 kB / 362.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.1723, allocations: 127.9 kB / 362.8 MB, free: 8.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004457/0.1727, allocations: 223.9 kB / 363 MB, free: 7.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.1735, allocations: 362.5 kB / 363.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1736, allocations: 0 / 363.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00141/0.175, allocations: 0.5114 MB / 363.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.175, allocations: 37.64 kB / 363.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.1751, allocations: 4 kB / 363.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.1755, allocations: 92.86 kB / 364 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.1758, allocations: 59.89 kB / 364.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.1788, allocations: 1.838 MB / 365.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.1792, allocations: 67.66 kB / 366 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.1792, allocations: 16 kB / 366 MB, free: 4.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.1795, allocations: 149.8 kB / 366.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.1796, allocations: 23.72 kB / 366.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.1797, allocations: 29.86 kB / 366.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1797, allocations: 0 / 366.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.1797, allocations: 8 kB / 366.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1797, allocations: 7.875 kB / 366.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.1801, allocations: 345.3 kB / 366.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.1801, allocations: 0 / 366.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1803, allocations: 39.97 kB / 366.6 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.1807, allocations: 80.81 kB / 366.7 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1807, allocations: 7.984 kB / 366.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.1832, allocations: 1.722 MB / 368.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1832, allocations: 0 / 368.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.1848, allocations: 0.5395 MB / 368.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1849, allocations: 104.7 kB / 369 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1849, allocations: 12.05 kB / 369 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.1852, allocations: 39.97 kB / 369.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.1853, allocations: 23.91 kB / 369.1 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1854, allocations: 11.94 kB / 369.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.1856, allocations: 206 kB / 369.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1857, allocations: 4 kB / 369.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004985/0.1862, allocations: 83.84 kB / 369.4 MB, free: 1.074 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.1864, allocations: 107.7 kB / 369.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.1876, allocations: 481.7 kB / 370 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1876, allocations: 0 / 370 MB, free: 476 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.1882, allocations: 259.1 kB / 370.2 MB, free: 204 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.1887, allocations: 47.44 kB / 370.3 MB, free: 160 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.259/0.4477, allocations: 0.7239 MB / 371 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4479, allocations: 0.7646 MB / 371.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.4481, allocations: 28.91 kB / 371.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.4482, allocations: 21.22 kB / 371.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4482, allocations: 0 / 371.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of Templates: time 0.01348/0.4617, allocations: 4.045 MB / 375.9 MB, free: 23.38 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/HighPass/HighPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches