Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009924, allocations: 182.8 kB / 18.04 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 224.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008228/0.0008227, allocations: 89.55 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0932/0.3347, allocations: 79.45 MB / 456.5 MB, free: 1.098 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3349, allocations: 83.95 kB / 456.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.3519, allocations: 6.085 MB / 462.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3519, allocations: 0 / 462.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.352, allocations: 11.98 kB / 462.7 MB, free: 10.89 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009852/0.353, allocations: 0.6186 MB / 463.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.353, allocations: 8.031 kB / 463.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.3531, allocations: 36.56 kB / 463.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.3534, allocations: 289.1 kB / 463.6 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3535, allocations: 12.94 kB / 463.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.3535, allocations: 24.38 kB / 463.6 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.3541, allocations: 285.3 kB / 463.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3541, allocations: 192 / 463.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.3542, allocations: 11.94 kB / 463.9 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3542, allocations: 8 kB / 463.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.355, allocations: 302 kB / 464.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.3566, allocations: 0.9655 MB / 465.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.3574, allocations: 387.8 kB / 465.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.3577, allocations: 148.8 kB / 465.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3578, allocations: 96 / 465.7 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.3583, allocations: 209.7 kB / 465.9 MB, free: 7.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.3583, allocations: 0 / 465.9 MB, free: 7.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001743/0.36, allocations: 0.6884 MB / 466.6 MB, free: 6.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3601, allocations: 110.8 kB / 466.7 MB, free: 6.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.3603, allocations: 270.5 kB / 467 MB, free: 6.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3604, allocations: 29.7 kB / 467 MB, free: 6.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.3605, allocations: 172.1 kB / 467.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.3605, allocations: 67.09 kB / 467.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.3606, allocations: 4 kB / 467.3 MB, free: 6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3607, allocations: 334.8 kB / 467.6 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.361, allocations: 116.2 kB / 467.7 MB, free: 5.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.3613, allocations: 188 kB / 467.9 MB, free: 5.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.3619, allocations: 299.5 kB / 468.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3619, allocations: 0 / 468.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00103/0.363, allocations: 479.5 kB / 468.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/0.3631, allocations: 167.7 kB / 468.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3631, allocations: 0 / 468.8 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.3633, allocations: 69.89 kB / 468.9 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.3636, allocations: 63.89 kB / 468.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.3651, allocations: 1.499 MB / 470.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3654, allocations: 63.75 kB / 470.5 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3654, allocations: 12 kB / 470.5 MB, free: 2.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.3655, allocations: 4 kB / 470.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006874/0.3661, allocations: 326.4 kB / 470.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.3662, allocations: 0 / 470.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.115e-05/0.3662, allocations: 28.78 kB / 470.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.3665, allocations: 63.95 kB / 470.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008696/0.3674, allocations: 1.381 MB / 472.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.3677, allocations: 47.91 kB / 472.4 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.3678, allocations: 11.98 kB / 472.4 MB, free: 0.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.368, allocations: 217 kB / 472.6 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.368, allocations: 23.72 kB / 472.6 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.3681, allocations: 30.17 kB / 472.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3681, allocations: 0 / 472.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3681, allocations: 0 / 472.6 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3681, allocations: 8 kB / 472.6 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.3694, allocations: 0.76 MB / 473.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3694, allocations: 0 / 473.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.3696, allocations: 55.98 kB / 473.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.3698, allocations: 52.83 kB / 473.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3698, allocations: 3.938 kB / 473.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.3712, allocations: 1.499 MB / 475 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3712, allocations: 4.062 kB / 475 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3724, allocations: 0.5708 MB / 475.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.3725, allocations: 100.8 kB / 475.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.3726, allocations: 8 kB / 475.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.3728, allocations: 44.02 kB / 475.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.3729, allocations: 19.97 kB / 475.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.373, allocations: 4 kB / 475.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3732, allocations: 201.9 kB / 476 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3732, allocations: 0 / 476 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005474/0.3737, allocations: 131.7 kB / 476.1 MB, free: 12.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.3739, allocations: 119.1 kB / 476.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.3753, allocations: 0.7461 MB / 476.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3754, allocations: 0 / 476.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.3758, allocations: 251 kB / 477.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.3763, allocations: 48.53 kB / 477.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3775, allocations: 0.6537 MB / 477.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3779, allocations: 0.7678 MB / 478.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.378, allocations: 34.27 kB / 478.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3781, allocations: 19.44 kB / 478.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3781, allocations: 0 / 478.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of Templates: time 0.007647/0.3858, allocations: 3.78 MB / 482.5 MB, free: 6.016 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches