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.00166/0.00166, allocations: 180.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 91.69 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 15.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3075, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.4092, allocations: 81.53 MB / 483 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4095, allocations: 87.95 kB / 483.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0167/0.4262, allocations: 6.336 MB / 489.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4262, allocations: 0 / 489.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.4263, allocations: 15.94 kB / 489.5 MB, free: 8.508 MB / 362.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.00102/0.4273, allocations: 0.6143 MB / 490.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4273, allocations: 12.03 kB / 490.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.4274, allocations: 35.61 kB / 490.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4278, allocations: 288 kB / 490.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4278, allocations: 21.19 kB / 490.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.4279, allocations: 24 kB / 490.5 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.4285, allocations: 331.6 kB / 490.8 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4285, allocations: 0 / 490.8 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.4286, allocations: 12 kB / 490.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4286, allocations: 4 kB / 490.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.4294, allocations: 306 kB / 491.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.4312, allocations: 1.208 MB / 492.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.4321, allocations: 278.6 kB / 492.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4321, allocations: 0 / 492.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.4326, allocations: 190 kB / 492.8 MB, free: 5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.4326, allocations: 0 / 492.8 MB, free: 5 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001904/0.4345, allocations: 0.6632 MB / 493.4 MB, free: 4.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4345, allocations: 81.11 kB / 493.5 MB, free: 4.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.4348, allocations: 241.6 kB / 493.7 MB, free: 3.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.4348, allocations: 33.7 kB / 493.8 MB, free: 3.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4349, allocations: 191.6 kB / 494 MB, free: 3.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.435, allocations: 43.44 kB / 494 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.435, allocations: 8 kB / 494 MB, free: 3.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.4351, allocations: 334.8 kB / 494.3 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003282/0.4354, allocations: 116.2 kB / 494.5 MB, free: 3.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.4358, allocations: 205.1 kB / 494.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.4361, allocations: 164.9 kB / 494.8 MB, free: 2.828 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.4362, allocations: 4 kB / 494.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001102/0.4373, allocations: 475.8 kB / 495.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4373, allocations: 33.69 kB / 495.3 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4373, allocations: 4 kB / 495.3 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.4376, allocations: 76.86 kB / 495.4 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.4379, allocations: 55.91 kB / 495.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.4398, allocations: 1.573 MB / 497 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.4401, allocations: 71.64 kB / 497.1 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.4402, allocations: 8 kB / 497.1 MB, free: 396 kB / 362.7 MB 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 () * Number of clocked 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.000147/0.4403, allocations: 145.8 kB / 497.2 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.4404, allocations: 23.7 kB / 497.3 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.4404, allocations: 25.72 kB / 497.3 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4404, allocations: 0 / 497.3 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4404, allocations: 4 kB / 497.3 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4404, allocations: 3.984 kB / 497.3 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.4407, allocations: 317.4 kB / 497.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4407, allocations: 0 / 497.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.4409, allocations: 39.91 kB / 497.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.4411, allocations: 72.8 kB / 497.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.4412, allocations: 4 kB / 497.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.4429, allocations: 1.561 MB / 499.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4429, allocations: 0 / 499.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4441, allocations: 0.4975 MB / 499.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.4442, allocations: 92.95 kB / 499.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4443, allocations: 7.984 kB / 499.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.4445, allocations: 35.97 kB / 499.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.4446, allocations: 23.91 kB / 499.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4446, allocations: 8.016 kB / 499.9 MB, free: 13.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.4448, allocations: 194 kB / 0.4884 GB, free: 13.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4448, allocations: 0 / 0.4884 GB, free: 13.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.4451, allocations: 71.75 kB / 0.4885 GB, free: 13.04 MB / 378.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) * Number of clocked states: 0 () * 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.0001761/0.4453, allocations: 107.2 kB / 0.4886 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009268/0.4462, allocations: 437.9 kB / 0.489 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4463, allocations: 3.938 kB / 0.489 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.4467, allocations: 231.1 kB / 0.4892 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4469, allocations: 48.16 kB / 0.4893 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.4503, allocations: 1.021 MB / 0.4903 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.4506, allocations: 0.756 MB / 0.491 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.4508, allocations: 34.22 kB / 0.491 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.4508, allocations: 19.44 kB / 0.4911 GB, free: 10.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4508, allocations: 0 / 0.4911 GB, free: 10.31 MB / 378.7 MB Notification: Performance of Templates: time 0.006654/0.4575, allocations: 3.223 MB / 0.4942 GB, free: 7.121 MB / 378.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