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.001127/0.001127, allocations: 84 kB / 21.18 MB, free: 3.398 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.001184/0.001184, allocations: 149.1 kB / 24.54 MB, free: 44 kB / 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.033/1.033, allocations: 173.4 MB / 201.1 MB, free: 9.355 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.814e-06/1.814e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.034e-05, allocations: 6.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003098/0.003128, allocations: 2.861 MB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.004274, allocations: 0.7128 MB / 271.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.00443, allocations: 7.938 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.00456, allocations: 47.56 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004719, allocations: 107.1 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.005, allocations: 111.8 kB / 271.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.005356, allocations: 402.3 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.005519, allocations: 87.61 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.005775, allocations: 231.4 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.005914, allocations: 135.6 kB / 272.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.005957, allocations: 36 kB / 272.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.691e-05/0.005994, allocations: 44 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.006044, allocations: 75.69 kB / 272.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.538e-05/0.006139, allocations: 115.7 kB / 273 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.006403, allocations: 243.1 kB / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006406, allocations: 0 / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006407, allocations: 0 / 273.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.006412, allocations: 0 / 273.2 MB, free: 1.203 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.0007508/0.007163, allocations: 0.6691 MB / 273.9 MB, free: 500 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.007197, allocations: 8.031 kB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.007275, allocations: 56.7 kB / 273.9 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.007538, allocations: 229 kB / 274.2 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.007554, allocations: 20.88 kB / 274.2 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.007589, allocations: 24.38 kB / 274.2 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.00795, allocations: 275.4 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.007959, allocations: 192 / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.007981, allocations: 16.36 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.00799, allocations: 7.938 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.008145, allocations: 98.88 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.009222, allocations: 1.048 MB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.009491, allocations: 111.1 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.009549, allocations: 35.67 kB / 275.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.009569, allocations: 3.984 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.009723, allocations: 149.9 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.009724, allocations: 4 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005616/0.01029, allocations: 249.1 kB / 276.2 MB, free: 14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.01033, allocations: 81.11 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01052, allocations: 296.2 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.01053, allocations: 33.7 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01065, allocations: 238.8 kB / 276.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.01068, allocations: 51.56 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.01074, allocations: 55.31 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01086, allocations: 0.5039 MB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.01094, allocations: 53.92 kB / 277.5 MB, free: 12.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.01107, allocations: 207.8 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.01124, allocations: 217.8 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.01124, allocations: 4 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003481/0.01159, allocations: 296.2 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.01162, allocations: 33.7 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.01163, allocations: 4.344 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.01183, allocations: 51.66 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01194, allocations: 55.91 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009915/0.01293, allocations: 1.775 MB / 280.1 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01307, allocations: 35.83 kB / 280.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01308, allocations: 12 kB / 280.2 MB, free: 9.68 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 0.0001013/0.01319, allocations: 175.8 kB / 280.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.01322, allocations: 27.8 kB / 280.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.01325, allocations: 33.75 kB / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01325, allocations: 0 / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.01325, allocations: 0 / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01326, allocations: 0 / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.01344, allocations: 216.5 kB / 280.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01344, allocations: 0 / 280.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.01352, allocations: 23.98 kB / 280.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.01365, allocations: 55.59 kB / 280.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01366, allocations: 4 kB / 280.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000797/0.01446, allocations: 1.767 MB / 282.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01446, allocations: 0 / 282.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.01477, allocations: 231.7 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.0148, allocations: 27.84 kB / 282.7 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.01482, allocations: 8.094 kB / 282.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.0149, allocations: 19.98 kB / 282.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.01496, allocations: 15.97 kB / 282.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01497, allocations: 7.938 kB / 282.8 MB, free: 6.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01508, allocations: 209.1 kB / 283 MB, free: 6.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01508, allocations: 0 / 283 MB, free: 6.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.01533, allocations: 71.83 kB / 283 MB, free: 6.609 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 0.0001067/0.01543, allocations: 107.1 kB / 283.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.01582, allocations: 366.1 kB / 283.5 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01582, allocations: 0 / 283.5 MB, free: 6.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.01596, allocations: 213.8 kB / 283.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01618, allocations: 49.14 kB / 283.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.01758, allocations: 0.6276 MB / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.01763, allocations: 76.33 kB / 284.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.0177, allocations: 34.2 kB / 284.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.01775, allocations: 20.5 kB / 284.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01775, allocations: 0 / 284.5 MB, free: 5.012 MB / 266.7 MB Notification: Performance of Templates: time 0.006089/0.02384, allocations: 3.96 MB / 288.5 MB, free: 1.105 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.868130922783166]