Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 110.2 kB / 16.92 MB, free: 6.332 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.001667/0.001667, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.516/1.516, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.001661, allocations: 51.27 kB / 300.6 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1389, allocations: 49.44 MB / 350.1 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.0047/0.1436, allocations: 3.073 MB / 353.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1454, allocations: 0.7753 MB / 353.9 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.1456, allocations: 4 kB / 353.9 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.1458, allocations: 55.44 kB / 354 MB, free: 428 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.1461, allocations: 111.1 kB / 354.1 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1465, allocations: 131.8 kB / 354.2 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.147, allocations: 458.3 kB / 354.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.1473, allocations: 146.8 kB / 354.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.1477, allocations: 171.4 kB / 355 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1479, allocations: 191.2 kB / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.148, allocations: 44 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.1481, allocations: 48 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.1481, allocations: 87.69 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.1483, allocations: 199.1 kB / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.1489, allocations: 494.6 kB / 356 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1489, allocations: 0 / 356 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1489, allocations: 0 / 356 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1489, allocations: 0 / 356 MB, free: 14.38 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.001409/0.1503, allocations: 0.7108 MB / 356.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1504, allocations: 11.89 kB / 356.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.188e-05/0.1505, allocations: 40.5 kB / 356.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.1509, allocations: 310.6 kB / 357.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.1509, allocations: 28.94 kB / 357.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.151, allocations: 32.36 kB / 357.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.1518, allocations: 355.4 kB / 357.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1518, allocations: 0 / 357.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.1518, allocations: 12 kB / 357.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.1518, allocations: 12 kB / 357.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008346/0.1527, allocations: 302 kB / 357.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.155, allocations: 1.26 MB / 359.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.1559, allocations: 347.4 kB / 359.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/0.1564, allocations: 140.3 kB / 359.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1564, allocations: 8 kB / 359.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/0.1571, allocations: 196.2 kB / 359.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.1571, allocations: 0 / 359.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0023/0.1594, allocations: 0.6433 MB / 360.4 MB, free: 9.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.1595, allocations: 106.8 kB / 360.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.1599, allocations: 294.9 kB / 360.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.16, allocations: 29.7 kB / 360.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1602, allocations: 204.3 kB / 361 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.1602, allocations: 67.09 kB / 361.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1603, allocations: 49.7 kB / 361.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1605, allocations: 342.8 kB / 361.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.1609, allocations: 116.2 kB / 361.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.1613, allocations: 221.2 kB / 361.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.1622, allocations: 329.2 kB / 362.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.1622, allocations: 4 kB / 362.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001596/0.1638, allocations: 491.5 kB / 362.6 MB, free: 7.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.1639, allocations: 33.7 kB / 362.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.1639, allocations: 3.984 kB / 362.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.1644, allocations: 64.89 kB / 362.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.1647, allocations: 71.88 kB / 362.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.1673, allocations: 1.629 MB / 364.4 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.1677, allocations: 63.64 kB / 364.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.1678, allocations: 8 kB / 364.4 MB, free: 5.359 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.168, allocations: 163.7 kB / 364.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.1681, allocations: 31.56 kB / 364.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.1681, allocations: 26.2 kB / 364.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1682, allocations: 11.94 kB / 364.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1682, allocations: 0 / 364.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1682, allocations: 0 / 364.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.1699, allocations: 0.8003 MB / 365.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1699, allocations: 0 / 365.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1702, allocations: 43.91 kB / 365.5 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002463/0.1704, allocations: 64.84 kB / 365.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1705, allocations: 4 kB / 365.6 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.1726, allocations: 1.625 MB / 367.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1726, allocations: 0 / 367.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.1742, allocations: 0.574 MB / 367.8 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.1744, allocations: 104.8 kB / 367.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.1744, allocations: 4 kB / 367.9 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.1747, allocations: 27.97 kB / 367.9 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.1748, allocations: 27.97 kB / 367.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1749, allocations: 4 kB / 368 MB, free: 1.602 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.1751, allocations: 210 kB / 368.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1751, allocations: 0 / 368.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.1756, allocations: 87.78 kB / 368.2 MB, free: 1.312 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/0.1758, allocations: 111.2 kB / 368.4 MB, free: 1.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.1772, allocations: 453.6 kB / 368.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1772, allocations: 0 / 368.8 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.1778, allocations: 243.3 kB / 369 MB, free: 488 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.1784, allocations: 52.8 kB / 369.1 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2364/0.4147, allocations: 0.8372 MB / 369.9 MB, free: 26.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4152, allocations: 0.7647 MB / 370.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.4155, allocations: 34.11 kB / 370.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.4156, allocations: 23.34 kB / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4156, allocations: 0 / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of Templates: time 0.01296/0.4285, allocations: 4.27 MB / 375 MB, free: 25.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches