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.002035/0.002035, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.001896/0.001896, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.001/2.001, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 51.2 kB / 300.6 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1436, allocations: 49.44 MB / 350.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.006299/0.1499, allocations: 3.126 MB / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1521, allocations: 0.7638 MB / 354 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.1524, allocations: 11.94 kB / 354 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.1528, allocations: 39.69 kB / 354 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1532, allocations: 99.3 kB / 354.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.1538, allocations: 115.8 kB / 354.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.1546, allocations: 418.3 kB / 354.6 MB, free: 48 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.1551, allocations: 127.5 kB / 354.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.1555, allocations: 159.3 kB / 354.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.1559, allocations: 175.2 kB / 355.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.745e-05/0.1559, allocations: 24 kB / 355.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.01e-05/0.156, allocations: 24 kB / 355.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1562, allocations: 75.69 kB / 355.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.1565, allocations: 171.1 kB / 355.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.157, allocations: 395.2 kB / 355.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.157, allocations: 4 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1571, allocations: 0 / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1571, allocations: 3.938 kB / 355.8 MB, free: 14.91 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.001836/0.1589, allocations: 0.7109 MB / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.159, allocations: 8.031 kB / 356.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.1591, allocations: 36.56 kB / 356.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.1596, allocations: 314.6 kB / 356.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.1597, allocations: 20.94 kB / 356.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.1598, allocations: 32.31 kB / 356.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1608, allocations: 351.5 kB / 357.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1609, allocations: 0 / 357.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.1609, allocations: 12 kB / 357.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1609, allocations: 8 kB / 357.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.162, allocations: 306 kB / 357.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.165, allocations: 1.264 MB / 358.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1661, allocations: 339.5 kB / 359.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.1667, allocations: 140.8 kB / 359.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1667, allocations: 8 kB / 359.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.1675, allocations: 193.7 kB / 359.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.1675, allocations: 0 / 359.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002786/0.1703, allocations: 0.6458 MB / 360.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/0.1704, allocations: 102.8 kB / 360.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.1709, allocations: 298.9 kB / 360.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1709, allocations: 33.64 kB / 360.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1711, allocations: 204.3 kB / 360.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.1712, allocations: 63.09 kB / 360.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1713, allocations: 49.7 kB / 360.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1715, allocations: 334.8 kB / 361.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.172, allocations: 124.2 kB / 361.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.1727, allocations: 213.3 kB / 361.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.1737, allocations: 346.4 kB / 361.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1737, allocations: 0 / 361.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001706/0.1754, allocations: 491.6 kB / 362.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.1755, allocations: 29.7 kB / 362.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1755, allocations: 4 kB / 362.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004377/0.176, allocations: 72.88 kB / 362.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.1764, allocations: 67.89 kB / 362.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.1793, allocations: 1.529 MB / 364 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.18, allocations: 59.75 kB / 364.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.1801, allocations: 12 kB / 364.1 MB, free: 6.016 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.0003758/0.1805, allocations: 149.8 kB / 364.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.1806, allocations: 23.72 kB / 364.3 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1807, allocations: 30.2 kB / 364.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1807, allocations: 0 / 364.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1807, allocations: 3.938 kB / 364.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.1807, allocations: 7.984 kB / 364.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.183, allocations: 0.8072 MB / 365.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1831, allocations: 0 / 365.1 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.1834, allocations: 43.98 kB / 365.1 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.1837, allocations: 56.83 kB / 365.2 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.1837, allocations: 11.98 kB / 365.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.1862, allocations: 1.507 MB / 366.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1862, allocations: 0 / 366.7 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.1881, allocations: 0.5655 MB / 367.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1883, allocations: 112.7 kB / 367.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.1884, allocations: 8.062 kB / 367.4 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.1888, allocations: 27.97 kB / 367.4 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.1889, allocations: 31.91 kB / 367.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1889, allocations: 4 kB / 367.5 MB, free: 2.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.1893, allocations: 209.9 kB / 367.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1893, allocations: 0 / 367.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000633/0.1899, allocations: 87.78 kB / 367.8 MB, free: 2.098 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.0002023/0.1901, allocations: 107.1 kB / 367.9 MB, free: 1.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.1916, allocations: 439.6 kB / 368.3 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1916, allocations: 3.938 kB / 368.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.1922, allocations: 239.1 kB / 368.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.1929, allocations: 52.8 kB / 368.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.1969, allocations: 0.9715 MB / 369.6 MB, free: 228 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2212/0.4181, allocations: 0.7651 MB / 370.3 MB, free: 24.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.4183, allocations: 23.62 kB / 370.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4183, allocations: 0.7812 kB / 370.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01366/0.432, allocations: 5.252 MB / 375.6 MB, free: 24.69 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/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