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.001035/0.001035, allocations: 90.48 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.001274/0.001274, allocations: 176.6 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.541/1.541, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003617, allocations: 11.94 kB / 301.4 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 50.42 MB / 351.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003922/0.1495, allocations: 2.748 MB / 354.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1512, allocations: 0.7561 MB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.1514, allocations: 11.94 kB / 355.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1516, allocations: 35.69 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1519, allocations: 99.3 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1522, allocations: 115.8 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.1527, allocations: 418.3 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.153, allocations: 123.6 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1532, allocations: 151.3 kB / 356.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1535, allocations: 163.2 kB / 356.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.1535, allocations: 20 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.1536, allocations: 20 kB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.605e-05/0.1537, allocations: 59.69 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1538, allocations: 188.8 kB / 356.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.1543, allocations: 470.4 kB / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1543, allocations: 0 / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1543, allocations: 4 kB / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1543, allocations: 0 / 357.2 MB, free: 14.06 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.001342/0.1557, allocations: 0.6643 MB / 357.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.1557, allocations: 12.03 kB / 357.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.1558, allocations: 40.53 kB / 357.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.1562, allocations: 310.6 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1563, allocations: 24.92 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.1563, allocations: 24.38 kB / 358.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008632/0.1572, allocations: 367.6 kB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1572, allocations: 4 kB / 358.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.1573, allocations: 12 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1573, allocations: 11.94 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.1582, allocations: 334 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.1605, allocations: 1.299 MB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009945/0.1616, allocations: 371.5 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.1621, allocations: 160.8 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.1621, allocations: 3.984 kB / 360.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006556/0.1628, allocations: 217.7 kB / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.465e-06/0.1628, allocations: 0 / 361 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002333/0.1651, allocations: 0.7084 MB / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.1652, allocations: 114.8 kB / 361.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.1656, allocations: 290.9 kB / 362.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.1656, allocations: 33.7 kB / 362.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1658, allocations: 212.2 kB / 362.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.1659, allocations: 59.19 kB / 362.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.1659, allocations: 29.7 kB / 362.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1661, allocations: 338.8 kB / 362.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.1665, allocations: 128.2 kB / 362.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.167, allocations: 229.3 kB / 363.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.1678, allocations: 374.8 kB / 363.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1678, allocations: 0 / 363.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001411/0.1692, allocations: 0.5114 MB / 364 MB, free: 6.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.1693, allocations: 33.77 kB / 364 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1693, allocations: 4 kB / 364 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.1697, allocations: 68.81 kB / 364.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.1701, allocations: 79.89 kB / 364.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.1728, allocations: 1.557 MB / 365.7 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.1733, allocations: 63.66 kB / 365.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1733, allocations: 12 kB / 365.8 MB, free: 4.875 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.0002401/0.1736, allocations: 153.2 kB / 366 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1736, allocations: 31.7 kB / 366 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.1737, allocations: 22.22 kB / 366 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1737, allocations: 11.97 kB / 366 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1737, allocations: 3.938 kB / 366 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.1737, allocations: 0 / 366 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1755, allocations: 0.8431 MB / 366.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1755, allocations: 0 / 366.9 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.1757, allocations: 51.95 kB / 366.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.176, allocations: 64.86 kB / 367 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.176, allocations: 11.92 kB / 367 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.178, allocations: 1.542 MB / 368.5 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.178, allocations: 4.031 kB / 368.5 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.1796, allocations: 0.6202 MB / 369.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1797, allocations: 104.8 kB / 369.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.1798, allocations: 0 / 369.3 MB, free: 1.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.1801, allocations: 43.95 kB / 369.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.1802, allocations: 23.98 kB / 369.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1802, allocations: 7.984 kB / 369.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.1805, allocations: 210 kB / 369.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1805, allocations: 0 / 369.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.1809, allocations: 87.69 kB / 369.6 MB, free: 0.8086 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.000191/0.1811, allocations: 111.1 kB / 369.7 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.1823, allocations: 467.4 kB / 370.2 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1823, allocations: 0 / 370.2 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.234/0.4163, allocations: 246.4 kB / 370.4 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.4171, allocations: 48.44 kB / 370.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.4205, allocations: 1.028 MB / 371.5 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.4209, allocations: 0.7653 MB / 372.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.4211, allocations: 32.95 kB / 372.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.4212, allocations: 26.16 kB / 372.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.124e-06/0.4212, allocations: 0 / 372.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01241/0.4336, allocations: 3.897 MB / 376.2 MB, free: 23.39 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