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.001527/0.001527, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008584, allocations: 98.92 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.638e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08331/0.08334, allocations: 50.42 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/0.3513, allocations: 80.98 MB / 468.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.3516, allocations: 79.95 kB / 468.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02567/0.3773, allocations: 6.916 MB / 475.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3773, allocations: 0 / 475.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.3773, allocations: 8 kB / 475.5 MB, free: 6.809 MB / 346.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.001489/0.3788, allocations: 0.6143 MB / 476.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3789, allocations: 12.03 kB / 476.1 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.379, allocations: 35.61 kB / 476.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.3796, allocations: 302.1 kB / 476.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.3797, allocations: 16 kB / 476.4 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.3797, allocations: 16 kB / 476.4 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005922/0.3803, allocations: 193.4 kB / 476.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.3811, allocations: 266.6 kB / 476.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3811, allocations: 0 / 476.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.3812, allocations: 0 / 476.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3812, allocations: 8 kB / 476.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.3845, allocations: 1.252 MB / 478.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.385, allocations: 247.5 kB / 478.4 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.3853, allocations: 94.67 kB / 478.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.3853, allocations: 3.984 kB / 478.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.3857, allocations: 153.8 kB / 478.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.184e-06/0.3857, allocations: 0 / 478.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000948/0.3867, allocations: 231.7 kB / 478.9 MB, free: 3.164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.3868, allocations: 106.8 kB / 479 MB, free: 3.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3871, allocations: 238.3 kB / 479.2 MB, free: 2.801 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3872, allocations: 33.7 kB / 479.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3874, allocations: 204 kB / 479.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.3875, allocations: 55.2 kB / 479.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.3875, allocations: 0 / 479.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3877, allocations: 342.8 kB / 479.8 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3879, allocations: 60.38 kB / 479.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.3882, allocations: 172.6 kB / 480 MB, free: 1.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3884, allocations: 74.14 kB / 480.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3884, allocations: 4 kB / 480.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001101/0.3895, allocations: 336.7 kB / 480.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.3896, allocations: 33.7 kB / 480.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3896, allocations: 4 kB / 480.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.3898, allocations: 36.91 kB / 480.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.3903, allocations: 75.89 kB / 480.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.3921, allocations: 1.323 MB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.3927, allocations: 59.64 kB / 482 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.3927, allocations: 8 kB / 482 MB, free: 15.82 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: firstOrder.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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.000202/0.3929, allocations: 124.9 kB / 482.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.393, allocations: 23.72 kB / 482.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.3931, allocations: 25.95 kB / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3931, allocations: 4 kB / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.3931, allocations: 0 / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3931, allocations: 3.984 kB / 482.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3946, allocations: 0.6504 MB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3946, allocations: 0 / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.395, allocations: 55.98 kB / 482.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.874e-05/0.3952, allocations: 24.86 kB / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.3952, allocations: 7.984 kB / 482.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.3968, allocations: 1.323 MB / 484.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.3968, allocations: 3.953 kB / 484.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.3979, allocations: 431.9 kB / 484.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3981, allocations: 100.8 kB / 484.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.3981, allocations: 7.984 kB / 484.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004923/0.3986, allocations: 40.03 kB / 484.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3988, allocations: 27.91 kB / 484.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.3988, allocations: 4 kB / 484.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.3991, allocations: 186 kB / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3991, allocations: 0 / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006501/0.3997, allocations: 75.75 kB / 485.1 MB, free: 12.5 MB / 362.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) * 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.0002024/0.4, allocations: 111.2 kB / 485.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.4007, allocations: 333 kB / 485.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4007, allocations: 0 / 485.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.401, allocations: 181.7 kB / 485.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.4015, allocations: 50.73 kB / 485.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.4039, allocations: 0.5614 MB / 486.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.4043, allocations: 0.7755 MB / 487.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.4046, allocations: 27.28 kB / 487.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.4047, allocations: 31.44 kB / 487.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4047, allocations: 0 / 487.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.01044/0.4151, allocations: 3.342 MB / 490.5 MB, free: 7.051 MB / 362.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/jenkins/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