Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 176.4 kB / 8.347 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.31/1.31, allocations: 221.5 MB / 230.3 MB, free: 7.594 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.001032/0.001032, allocations: 99.39 kB / 281.2 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.774e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 50.42 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.3846, allocations: 80.8 MB / 468.3 MB, free: 14.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.3848, allocations: 79.95 kB / 468.3 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01749/0.4024, allocations: 6.28 MB / 474.6 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4024, allocations: 4 kB / 474.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.4024, allocations: 11.98 kB / 474.6 MB, free: 7.691 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.0009885/0.4034, allocations: 0.5755 MB / 475.2 MB, free: 7.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4035, allocations: 12.03 kB / 475.2 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.4035, allocations: 31.62 kB / 475.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.4039, allocations: 284 kB / 475.5 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.404, allocations: 8.688 kB / 475.5 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.404, allocations: 16 kB / 475.6 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003152/0.4043, allocations: 181.1 kB / 475.7 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.4047, allocations: 226.6 kB / 476 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4047, allocations: 0 / 476 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.4048, allocations: 0 / 476 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4048, allocations: 8 kB / 476 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.4067, allocations: 1.157 MB / 477.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.4071, allocations: 138.6 kB / 477.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.4072, allocations: 52.86 kB / 477.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.4072, allocations: 4 kB / 477.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.4075, allocations: 125 kB / 477.4 MB, free: 4.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.4075, allocations: 0 / 477.4 MB, free: 4.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006631/0.4082, allocations: 206.2 kB / 477.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4082, allocations: 81.33 kB / 477.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.4085, allocations: 216.5 kB / 477.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4085, allocations: 25.7 kB / 478 MB, free: 4.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.4087, allocations: 199.7 kB / 478.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.4088, allocations: 35.45 kB / 478.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.4088, allocations: 0 / 478.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4089, allocations: 330.8 kB / 478.5 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.409, allocations: 60.17 kB / 478.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.4092, allocations: 135.6 kB / 478.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4093, allocations: 73.09 kB / 478.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4093, allocations: 0 / 478.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006695/0.41, allocations: 286.3 kB / 479.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.4101, allocations: 42.94 kB / 479.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4101, allocations: 4 kB / 479.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.4103, allocations: 32.84 kB / 479.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.4105, allocations: 59.89 kB / 479.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4119, allocations: 1.326 MB / 480.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.4122, allocations: 51.75 kB / 480.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.4123, allocations: 23.94 kB / 480.6 MB, free: 1.301 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.0001539/0.4124, allocations: 113.6 kB / 480.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.4125, allocations: 19.72 kB / 480.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.4125, allocations: 25.83 kB / 480.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4125, allocations: 0 / 480.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.4125, allocations: 0 / 480.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4125, allocations: 0 / 480.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.4128, allocations: 274 kB / 481 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4128, allocations: 4 kB / 481 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.413, allocations: 43.95 kB / 481.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.392e-05/0.4131, allocations: 24.86 kB / 481.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4131, allocations: 7.984 kB / 481.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.4142, allocations: 1.322 MB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4142, allocations: 3.938 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.4148, allocations: 301.7 kB / 482.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.4149, allocations: 92.94 kB / 482.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.4149, allocations: 4 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.4151, allocations: 40.03 kB / 482.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.4152, allocations: 23.91 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4152, allocations: 0 / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.4154, allocations: 172.5 kB / 483 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4154, allocations: 0 / 483 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.4158, allocations: 67.75 kB / 483.1 MB, free: 14.59 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.0001597/0.4159, allocations: 115.1 kB / 483.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.4164, allocations: 293.9 kB / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4164, allocations: 4 kB / 483.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.4166, allocations: 161.7 kB / 483.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.4168, allocations: 53.62 kB / 483.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4183, allocations: 0.5061 MB / 484.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4186, allocations: 0.756 MB / 485 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.4187, allocations: 30.05 kB / 485 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.4188, allocations: 19.44 kB / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4188, allocations: 0 / 485 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005801/0.4246, allocations: 2.89 MB / 487.9 MB, free: 9.719 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches