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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 143.9 kB / 24.97 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.012/1.012, allocations: 173.3 MB / 201.5 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.645e-05, allocations: 2.312 kB / 268.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002695/0.002711, allocations: 2.869 MB / 271 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.003563, allocations: 0.7011 MB / 271.7 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.00368, allocations: 7.938 kB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.003817, allocations: 47.5 kB / 271.7 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.003959, allocations: 103.1 kB / 271.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.004205, allocations: 127.7 kB / 272 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.004506, allocations: 398.3 kB / 272.3 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.00467, allocations: 87.66 kB / 272.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.004902, allocations: 223.5 kB / 272.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005044, allocations: 135.6 kB / 272.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.005085, allocations: 36 kB / 272.8 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.374e-05/0.005119, allocations: 40 kB / 272.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.00517, allocations: 79.69 kB / 272.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.123e-05/0.005261, allocations: 115.7 kB / 273.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.005511, allocations: 243.1 kB / 273.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.005514, allocations: 0 / 273.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005514, allocations: 4 kB / 273.3 MB, free: 1.441 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005519, allocations: 0 / 273.3 MB, free: 1.441 MB / 250.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.0007847/0.006303, allocations: 0.6613 MB / 274 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.006343, allocations: 12.03 kB / 274 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.006424, allocations: 56.7 kB / 274 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.006688, allocations: 233 kB / 274.2 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.006704, allocations: 16.88 kB / 274.3 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.006743, allocations: 28.36 kB / 274.3 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.007111, allocations: 275.3 kB / 274.6 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.007121, allocations: 192 / 274.6 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.007145, allocations: 12.38 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.007156, allocations: 7.938 kB / 274.6 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.007335, allocations: 98.88 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.008431, allocations: 1.052 MB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.008705, allocations: 111.1 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.008771, allocations: 35.67 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.008793, allocations: 4 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.00896, allocations: 149.9 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.008961, allocations: 0 / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005987/0.009559, allocations: 249.1 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.009609, allocations: 77.11 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.009822, allocations: 300.2 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.009843, allocations: 33.7 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.009952, allocations: 242.8 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.009981, allocations: 43.62 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.01004, allocations: 59.31 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01017, allocations: 0.5078 MB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.01025, allocations: 53.92 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.01038, allocations: 211.8 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.01056, allocations: 213.3 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01056, allocations: 0 / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003644/0.01093, allocations: 304.5 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.01096, allocations: 37.64 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01096, allocations: 4 kB / 278.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.01118, allocations: 51.75 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01129, allocations: 55.91 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.0124, allocations: 1.782 MB / 280.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.01252, allocations: 35.83 kB / 280.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01254, allocations: 8 kB / 280.2 MB, free: 9.918 MB / 266.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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/0.01263, allocations: 172.5 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01266, allocations: 31.78 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.0127, allocations: 21.78 kB / 280.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.0127, allocations: 0 / 280.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.0127, allocations: 4 kB / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0127, allocations: 3.984 kB / 280.5 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.01286, allocations: 216.5 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01286, allocations: 0 / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.01295, allocations: 23.98 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.01308, allocations: 55.59 kB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01309, allocations: 3.984 kB / 280.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000861/0.01395, allocations: 1.763 MB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01395, allocations: 128 / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.01425, allocations: 232.2 kB / 282.8 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.01428, allocations: 27.84 kB / 282.8 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.0143, allocations: 4 kB / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.01438, allocations: 19.98 kB / 282.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.01443, allocations: 15.97 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01444, allocations: 7.938 kB / 282.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.01455, allocations: 213.1 kB / 283 MB, free: 6.918 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01455, allocations: 0 / 283 MB, free: 6.918 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01476, allocations: 67.83 kB / 283.1 MB, free: 6.852 MB / 266.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.184e-05/0.01485, allocations: 107.2 kB / 283.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.01522, allocations: 366.1 kB / 283.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01522, allocations: 0.6875 kB / 283.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01535, allocations: 217.8 kB / 283.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01556, allocations: 40.47 kB / 283.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.01696, allocations: 0.6276 MB / 284.5 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.017, allocations: 80.31 kB / 284.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.01706, allocations: 22.3 kB / 284.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.01711, allocations: 24.5 kB / 284.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01711, allocations: 0 / 284.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of Templates: time 0.005559/0.02267, allocations: 3.779 MB / 288.4 MB, free: 1.535 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.820862401043996]