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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008946/0.0008945, allocations: 107.2 kB / 292.6 MB, free: 10.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004899, allocations: 8 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.31, allocations: 50.4 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4277, allocations: 81.77 MB / 484.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.4281, allocations: 84.98 kB / 484.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01976/0.4478, allocations: 6.987 MB / 491.6 MB, free: 7.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4479, allocations: 4 kB / 491.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.4479, allocations: 15.98 kB / 491.6 MB, free: 7.438 MB / 362.7 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.001242/0.4492, allocations: 0.6494 MB / 492.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.4492, allocations: 12.03 kB / 492.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.4493, allocations: 36.47 kB / 492.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.4498, allocations: 319.2 kB / 492.6 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.4498, allocations: 24.94 kB / 492.6 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.4499, allocations: 24.38 kB / 492.7 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.4507, allocations: 360.2 kB / 493 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4507, allocations: 3.938 kB / 493 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.4507, allocations: 11.98 kB / 493 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4508, allocations: 8 kB / 493 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.4516, allocations: 338 kB / 493.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.454, allocations: 1.3 MB / 494.7 MB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007959/0.4548, allocations: 375.5 kB / 495 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.4552, allocations: 156.8 kB / 495.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4552, allocations: 0 / 495.2 MB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005406/0.4558, allocations: 209.7 kB / 495.4 MB, free: 3.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.4558, allocations: 4 kB / 495.4 MB, free: 3.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002027/0.4578, allocations: 0.7126 MB / 496.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.4579, allocations: 118.8 kB / 496.2 MB, free: 2.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.4582, allocations: 287.2 kB / 496.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.4583, allocations: 33.69 kB / 496.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.4584, allocations: 203.9 kB / 496.7 MB, free: 2.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.4585, allocations: 59.25 kB / 496.8 MB, free: 1.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.4585, allocations: 96 / 496.8 MB, free: 1.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4587, allocations: 346.8 kB / 497.1 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.459, allocations: 124.2 kB / 497.3 MB, free: 1.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.4595, allocations: 233.3 kB / 497.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.4602, allocations: 367.1 kB / 497.8 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4602, allocations: 3.938 kB / 497.8 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001232/0.4615, allocations: 0.5152 MB / 498.4 MB, free: 276 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.4615, allocations: 29.7 kB / 498.4 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4616, allocations: 7.938 kB / 498.4 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.4619, allocations: 76.88 kB / 498.5 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.4622, allocations: 71.89 kB / 498.5 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.4648, allocations: 1.756 MB / 0.4886 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.4652, allocations: 59.75 kB / 0.4886 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.4652, allocations: 12 kB / 0.4886 GB, free: 14.12 MB / 378.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.4654, allocations: 161.8 kB / 0.4888 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.4655, allocations: 27.62 kB / 0.4888 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.4655, allocations: 38.14 kB / 0.4889 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4656, allocations: 3.984 kB / 0.4889 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.4656, allocations: 0 / 0.4889 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4656, allocations: 0 / 0.4889 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4671, allocations: 0.8326 MB / 0.4897 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4671, allocations: 0 / 0.4897 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.4673, allocations: 51.95 kB / 0.4897 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.4676, allocations: 68.78 kB / 0.4898 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4676, allocations: 8 kB / 0.4898 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.4694, allocations: 1.534 MB / 0.4913 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4694, allocations: 3.938 kB / 0.4913 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4708, allocations: 0.6139 MB / 0.4919 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.4709, allocations: 104.8 kB / 0.492 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.4709, allocations: 11.94 kB / 0.492 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.4712, allocations: 43.95 kB / 0.4921 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/0.4713, allocations: 24.03 kB / 0.4921 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.4714, allocations: 8 kB / 0.4921 GB, free: 10.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.4716, allocations: 209.9 kB / 0.4923 GB, free: 10.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4716, allocations: 0 / 0.4923 GB, free: 10.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004972/0.4721, allocations: 87.84 kB / 0.4924 GB, free: 10.05 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.4724, allocations: 107.2 kB / 0.4925 GB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.4737, allocations: 0.5429 MB / 0.493 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4737, allocations: 0 / 0.493 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.4742, allocations: 254.6 kB / 0.4932 GB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.4747, allocations: 64.72 kB / 0.4933 GB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.4775, allocations: 0.9796 MB / 0.4943 GB, free: 8.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4779, allocations: 0.768 MB / 0.495 GB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.4781, allocations: 30.97 kB / 0.495 GB, free: 7.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.4781, allocations: 23.44 kB / 0.4951 GB, free: 7.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4782, allocations: 7.875 kB / 0.4951 GB, free: 7.188 MB / 378.7 MB Notification: Performance of Templates: time 0.007838/0.486, allocations: 3.741 MB / 0.4987 GB, free: 3.484 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches