Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001742, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 69.89 kB / 307.9 MB, free: 480 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.15, allocations: 50.54 MB / 358.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.007689/0.1578, allocations: 3.089 MB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1602, allocations: 0.8026 MB / 362.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.1606, allocations: 7.938 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1608, allocations: 51.5 kB / 362.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.1612, allocations: 115 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.1617, allocations: 127.8 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008277/0.1625, allocations: 462.3 kB / 363.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.163, allocations: 142.9 kB / 363.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.1635, allocations: 187.3 kB / 363.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1639, allocations: 187.2 kB / 363.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.164, allocations: 44 kB / 363.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1641, allocations: 44 kB / 363.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1643, allocations: 91.69 kB / 363.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.1647, allocations: 199 kB / 364 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008107/0.1655, allocations: 494.7 kB / 364.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1655, allocations: 4 kB / 364.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1655, allocations: 0 / 364.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.1655, allocations: 0 / 364.4 MB, free: 7.883 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.002285/0.1678, allocations: 0.7187 MB / 365.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1679, allocations: 12.02 kB / 365.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1681, allocations: 40.56 kB / 365.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.1687, allocations: 302.6 kB / 365.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.1688, allocations: 24.92 kB / 365.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.1689, allocations: 32.38 kB / 365.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.1703, allocations: 351.6 kB / 365.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1704, allocations: 0 / 365.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.1704, allocations: 8 kB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.1705, allocations: 11.98 kB / 365.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.1721, allocations: 310 kB / 366.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.1762, allocations: 1.26 MB / 367.5 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.1778, allocations: 339.5 kB / 367.8 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/0.1787, allocations: 140.7 kB / 368 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.1787, allocations: 7.984 kB / 368 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009502/0.1797, allocations: 196.3 kB / 368.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.905e-06/0.1797, allocations: 96 / 368.2 MB, free: 3.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.004238/0.184, allocations: 0.6471 MB / 368.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1841, allocations: 106.8 kB / 368.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.1847, allocations: 294.9 kB / 369.2 MB, free: 2.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.1848, allocations: 37.69 kB / 369.2 MB, free: 2.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.1851, allocations: 204.2 kB / 369.4 MB, free: 2.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1853, allocations: 59.19 kB / 369.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1854, allocations: 53.7 kB / 369.5 MB, free: 2.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.1857, allocations: 338.8 kB / 369.9 MB, free: 2.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.1865, allocations: 120.2 kB / 370 MB, free: 1.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.1873, allocations: 215.9 kB / 370.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.1889, allocations: 335.7 kB / 370.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.1889, allocations: 0 / 370.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002554/0.1915, allocations: 492.8 kB / 371 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.1916, allocations: 35.73 kB / 371 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1916, allocations: 0 / 371 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/0.1922, allocations: 76.8 kB / 371.1 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.1927, allocations: 67.89 kB / 371.2 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1579/0.3507, allocations: 1.629 MB / 372.8 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.3512, allocations: 57.27 kB / 372.9 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3512, allocations: 14 kB / 372.9 MB, free: 18.85 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.0001795/0.3514, allocations: 146.7 kB / 373 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.3515, allocations: 32.09 kB / 373.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.571e-05/0.3516, allocations: 29.38 kB / 373.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3516, allocations: 2.328 kB / 373.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3516, allocations: 4.719 kB / 373.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3516, allocations: 0.6094 kB / 373.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3533, allocations: 0.7928 MB / 373.9 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3534, allocations: 3.969 kB / 373.9 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3536, allocations: 48.77 kB / 373.9 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.3539, allocations: 61.67 kB / 374 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.3539, allocations: 5.5 kB / 374 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.3557, allocations: 1.632 MB / 375.6 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3557, allocations: 3.438 kB / 375.6 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.3572, allocations: 0.5621 MB / 376.2 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.3573, allocations: 108.5 kB / 376.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.3573, allocations: 9.844 kB / 376.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.3576, allocations: 32.66 kB / 376.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3577, allocations: 19.83 kB / 376.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3578, allocations: 11.83 kB / 376.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.358, allocations: 208.5 kB / 376.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.358, allocations: 0 / 376.6 MB, free: 16.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.3585, allocations: 85.61 kB / 376.7 MB, free: 16.73 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.0001597/0.3587, allocations: 105.1 kB / 376.8 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3598, allocations: 450.9 kB / 377.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3598, allocations: 0 / 377.2 MB, free: 16.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.3602, allocations: 238.6 kB / 377.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.3607, allocations: 62.59 kB / 377.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.3635, allocations: 0.8794 MB / 378.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3638, allocations: 0.7643 MB / 379.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.3638, allocations: 31.12 kB / 379.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3639, allocations: 0 / 379.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Templates: time 0.008086/0.3719, allocations: 5.263 MB / 384.4 MB, free: 14.3 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches