Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000861/0.0008612, allocations: 100.3 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.793e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 51.47 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4129, allocations: 81.59 MB / 476.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4132, allocations: 76.25 kB / 476.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.4284, allocations: 6.303 MB / 483.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4284, allocations: 1.875 kB / 483.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4284, allocations: 4 kB / 483.2 MB, free: 6.309 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007786/0.4292, allocations: 0.5941 MB / 483.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.4293, allocations: 8.031 kB / 483.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.4293, allocations: 36.48 kB / 483.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4296, allocations: 283 kB / 484.1 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4296, allocations: 8 kB / 484.1 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.4297, allocations: 16 kB / 484.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00026/0.43, allocations: 165.9 kB / 484.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.4303, allocations: 234.3 kB / 484.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4303, allocations: 0 / 484.5 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.4303, allocations: 7.5 kB / 484.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4303, allocations: 8 kB / 484.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.432, allocations: 1.149 MB / 485.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.4323, allocations: 132.9 kB / 485.8 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.4324, allocations: 65.81 kB / 485.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4324, allocations: 7.938 kB / 485.8 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.4326, allocations: 118.4 kB / 486 MB, free: 3.773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4326, allocations: 0 / 486 MB, free: 3.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005051/0.4331, allocations: 201.3 kB / 486.2 MB, free: 3.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.4332, allocations: 92.98 kB / 486.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.4333, allocations: 210.4 kB / 486.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4334, allocations: 29.64 kB / 486.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.4335, allocations: 205.7 kB / 486.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.4335, allocations: 37.08 kB / 486.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.4335, allocations: 0 / 486.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.4336, allocations: 333.9 kB / 487 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.4336, allocations: 48.98 kB / 487.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4338, allocations: 142.8 kB / 487.2 MB, free: 2.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/0.4339, allocations: 68.61 kB / 487.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4339, allocations: 0 / 487.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005099/0.4344, allocations: 282.5 kB / 487.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4344, allocations: 37.69 kB / 487.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4344, allocations: 4 kB / 487.6 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.4346, allocations: 30.23 kB / 487.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.4348, allocations: 71.22 kB / 487.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008494/0.4357, allocations: 1.333 MB / 489 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4359, allocations: 51.91 kB / 489.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.436, allocations: 11.5 kB / 489.1 MB, free: 0.7227 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: integrator.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 (25): * Single equations (assignments): 23 * 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.0001194/0.4361, allocations: 108.9 kB / 489.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.4361, allocations: 27.7 kB / 489.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.4362, allocations: 24.53 kB / 489.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4362, allocations: 0 / 489.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.4362, allocations: 7.953 kB / 489.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.4362, allocations: 3.984 kB / 489.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4364, allocations: 264.7 kB / 489.5 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4364, allocations: 0 / 489.5 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.4366, allocations: 40.72 kB / 489.6 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.924e-05/0.4366, allocations: 34.67 kB / 489.6 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.4367, allocations: 3.984 kB / 489.6 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.4377, allocations: 1.313 MB / 490.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4377, allocations: 0 / 490.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.4382, allocations: 305.7 kB / 491.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.4383, allocations: 104.5 kB / 491.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.4384, allocations: 0 / 491.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4386, allocations: 31.97 kB / 491.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.4387, allocations: 19.53 kB / 491.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4387, allocations: 14.12 kB / 491.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001409/0.4388, allocations: 168.7 kB / 491.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4388, allocations: 0 / 491.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.4392, allocations: 71.69 kB / 491.6 MB, free: 14.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001527/0.4393, allocations: 111.2 kB / 491.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.4397, allocations: 297.5 kB / 492 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4397, allocations: 128 / 492 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.4399, allocations: 174.2 kB / 492.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4402, allocations: 31.48 kB / 492.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.4416, allocations: 0.5188 MB / 492.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.442, allocations: 0.7599 MB / 493.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.4421, allocations: 26.06 kB / 493.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.4422, allocations: 15.44 kB / 493.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4422, allocations: 0 / 493.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Templates: time 0.006077/0.4483, allocations: 2.885 MB / 496.4 MB, free: 9.551 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches