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.001398/0.001398, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.916/1.916, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009407/0.0009407, allocations: 91.92 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003624, allocations: 12 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3972, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.5141, allocations: 79.4 MB / 455.2 MB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/0.5146, allocations: 79.95 kB / 455.3 MB, free: 1.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02083/0.5354, allocations: 6.074 MB / 461.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5355, allocations: 4 kB / 461.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.556e-05/0.5355, allocations: 8 kB / 461.4 MB, free: 11.08 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.001628/0.5372, allocations: 0.6223 MB / 462 MB, free: 10.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.5373, allocations: 12.03 kB / 462 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.5374, allocations: 31.62 kB / 462 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.538, allocations: 276.5 kB / 462.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.538, allocations: 16.52 kB / 462.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.5381, allocations: 24 kB / 462.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.5389, allocations: 276.8 kB / 462.6 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5389, allocations: 4 kB / 462.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.539, allocations: 12 kB / 462.6 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.539, allocations: 4 kB / 462.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008605/0.5399, allocations: 302 kB / 462.9 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.542, allocations: 0.9694 MB / 463.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009755/0.543, allocations: 391.8 kB / 464.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.543, allocations: 4 kB / 464.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.5437, allocations: 210 kB / 464.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.787e-06/0.5437, allocations: 0 / 464.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001969/0.5457, allocations: 0.6295 MB / 465.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.5458, allocations: 110.8 kB / 465.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.5462, allocations: 241.6 kB / 465.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.5462, allocations: 29.7 kB / 465.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5464, allocations: 176.1 kB / 465.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.5465, allocations: 59.11 kB / 465.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.5465, allocations: 4 kB / 465.7 MB, free: 6.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5467, allocations: 334.8 kB / 466.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.5471, allocations: 120.1 kB / 466.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.5475, allocations: 184.3 kB / 466.4 MB, free: 5.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.5479, allocations: 156.2 kB / 466.5 MB, free: 5.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.5479, allocations: 3.953 kB / 466.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001151/0.549, allocations: 452.6 kB / 467 MB, free: 5.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004572/0.5495, allocations: 0.6377 MB / 467.6 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.5495, allocations: 4 kB / 467.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.5499, allocations: 52.83 kB / 467.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.5502, allocations: 71.98 kB / 467.7 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006849/0.5509, allocations: 0.5913 MB / 468.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.5514, allocations: 63.75 kB / 468.4 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.5514, allocations: 15.98 kB / 468.4 MB, free: 3.637 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5514, allocations: 4 kB / 468.4 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007688/0.5522, allocations: 327 kB / 468.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5522, allocations: 0 / 468.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-05/0.5523, allocations: 40.95 kB / 468.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.5526, allocations: 71.89 kB / 468.8 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.5539, allocations: 1.382 MB / 470.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.5543, allocations: 43.81 kB / 470.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5543, allocations: 12.19 kB / 470.3 MB, free: 1.621 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.0003479/0.5547, allocations: 223.9 kB / 470.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.5547, allocations: 23.72 kB / 470.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.903e-05/0.5548, allocations: 30.17 kB / 470.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.5548, allocations: 0 / 470.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5548, allocations: 0 / 470.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.5548, allocations: 0 / 470.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.5563, allocations: 0.7639 MB / 471.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5563, allocations: 0 / 471.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.5566, allocations: 47.91 kB / 471.3 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.5568, allocations: 60.84 kB / 471.4 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.5568, allocations: 4.094 kB / 471.4 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.5585, allocations: 1.511 MB / 472.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/0.5586, allocations: 3.953 kB / 472.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.56, allocations: 0.5843 MB / 473.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.5602, allocations: 104.8 kB / 473.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.5602, allocations: 4 kB / 473.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.5605, allocations: 44.02 kB / 473.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5607, allocations: 23.97 kB / 473.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.5607, allocations: 8 kB / 473.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.561, allocations: 190 kB / 473.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.561, allocations: 0 / 473.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007225/0.5618, allocations: 135.7 kB / 474 MB, free: 13.62 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.0002805/0.562, allocations: 111.1 kB / 474.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.5636, allocations: 0.6427 MB / 474.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5636, allocations: 4 kB / 474.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004802/0.5641, allocations: 252.9 kB / 475 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.5645, allocations: 51.25 kB / 475.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.566, allocations: 0.6635 MB / 475.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.5666, allocations: 0.7602 MB / 476.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.5668, allocations: 34.28 kB / 476.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.5669, allocations: 19.44 kB / 476.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of SimCode: time 3.727e-06/0.5669, allocations: 0 / 476.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of Templates: time 0.008906/0.5758, allocations: 3.588 MB / 480.1 MB, free: 7.422 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/jenkins/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