Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,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.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,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.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 178.9 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008327/0.0008328, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.644e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09257, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3253/0.4179, allocations: 78.73 MB / 441.8 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.4183, allocations: 80.89 kB / 441.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02112/0.4394, allocations: 5.434 MB / 447.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4395, allocations: 0 / 447.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.4395, allocations: 4 kB / 447.3 MB, free: 12.28 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001222/0.4407, allocations: 0.5493 MB / 447.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4408, allocations: 12.03 kB / 447.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.4409, allocations: 27.62 kB / 447.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.4413, allocations: 272.7 kB / 448.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.4414, allocations: 11.89 kB / 448.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.4415, allocations: 12 kB / 448.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003895/0.4419, allocations: 144.4 kB / 448.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.4423, allocations: 159.9 kB / 448.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4423, allocations: 0 / 448.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4423, allocations: 0 / 448.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4423, allocations: 4 kB / 448.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.4443, allocations: 0.8457 MB / 449.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.4448, allocations: 146.7 kB / 449.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.4449, allocations: 57.36 kB / 449.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4449, allocations: 3.938 kB / 449.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.4452, allocations: 119.1 kB / 449.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.033e-06/0.4453, allocations: 0 / 449.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006936/0.446, allocations: 192.8 kB / 449.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.446, allocations: 81.11 kB / 449.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.4463, allocations: 197.1 kB / 450.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4464, allocations: 25.7 kB / 450.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.4466, allocations: 165.7 kB / 450.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.4466, allocations: 42.7 kB / 450.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.4467, allocations: 4 kB / 450.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4468, allocations: 330.4 kB / 450.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.447, allocations: 45.94 kB / 450.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.4472, allocations: 99.78 kB / 450.8 MB, free: 9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4473, allocations: 52.52 kB / 450.9 MB, free: 8.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4473, allocations: 0 / 450.9 MB, free: 8.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006773/0.448, allocations: 248.7 kB / 451.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003056/0.4483, allocations: 0.6397 MB / 451.8 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4483, allocations: 4 kB / 451.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.4486, allocations: 32.41 kB / 451.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.4489, allocations: 59.45 kB / 451.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004667/0.4494, allocations: 0.5505 MB / 452.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.4498, allocations: 43.88 kB / 452.5 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.4498, allocations: 11.69 kB / 452.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.4498, allocations: 4 kB / 452.5 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004109/0.4503, allocations: 158.5 kB / 452.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4503, allocations: 3.984 kB / 452.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.349e-05/0.4504, allocations: 24.16 kB / 452.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.4507, allocations: 51.91 kB / 452.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.452, allocations: 1.324 MB / 454 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.4523, allocations: 39.91 kB / 454.1 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.4523, allocations: 12 kB / 454.1 MB, free: 5.738 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001809/0.4525, allocations: 112.3 kB / 454.2 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.4526, allocations: 19.72 kB / 454.2 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.4527, allocations: 20.45 kB / 454.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4527, allocations: 7.953 kB / 454.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4527, allocations: 3.938 kB / 454.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4527, allocations: 0 / 454.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.453, allocations: 249.3 kB / 454.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4531, allocations: 0 / 454.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.4533, allocations: 39.41 kB / 454.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.4535, allocations: 35.3 kB / 454.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.4535, allocations: 3.984 kB / 454.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.4548, allocations: 1.309 MB / 455.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4548, allocations: 0 / 455.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.4555, allocations: 277 kB / 456.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.4556, allocations: 92.94 kB / 456.2 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.4556, allocations: 3.688 kB / 456.2 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.456, allocations: 35.92 kB / 456.3 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.4561, allocations: 19.03 kB / 456.3 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.4561, allocations: 12.05 kB / 456.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.4563, allocations: 147.3 kB / 456.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4563, allocations: 0 / 456.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000764/0.4571, allocations: 103.6 kB / 456.5 MB, free: 3.277 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.0001863/0.4573, allocations: 115.6 kB / 456.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008019/0.4581, allocations: 432.2 kB / 457.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4581, allocations: 0 / 457.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.4584, allocations: 169.4 kB / 457.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.4588, allocations: 28.41 kB / 457.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.4597, allocations: 325.9 kB / 457.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.46, allocations: 0.7482 MB / 458.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.4603, allocations: 30.06 kB / 458.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.4603, allocations: 19.42 kB / 458.4 MB, free: 1.457 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4603, allocations: 0 / 458.4 MB, free: 1.457 MB / 330.7 MB Notification: Performance of Templates: time 0.008366/0.4687, allocations: 2.988 MB / 461.4 MB, free: 14.48 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches