Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000918/0.000918, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 172 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9746/0.9746, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.407e-05, allocations: 2.312 kB / 273.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002935/0.002949, allocations: 2.899 MB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004247, allocations: 0.7554 MB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.004415, allocations: 7.938 kB / 277.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.004578, allocations: 47.52 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.004824, allocations: 115.1 kB / 277.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.005176, allocations: 115.7 kB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.005559, allocations: 402.3 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.005746, allocations: 86.3 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.006075, allocations: 231.4 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.006241, allocations: 135.6 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.006278, allocations: 36 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.006311, allocations: 44 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.006354, allocations: 79.69 kB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.956e-05/0.006434, allocations: 111.7 kB / 278.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.00666, allocations: 247.1 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006662, allocations: 0 / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006663, allocations: 0 / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006668, allocations: 0 / 278.8 MB, free: 11.9 MB / 266.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.0006177/0.007285, allocations: 0.556 MB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.007314, allocations: 8.031 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.00737, allocations: 48.89 kB / 279.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.007574, allocations: 186.2 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.007589, allocations: 16.88 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.00762, allocations: 24.38 kB / 279.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.007884, allocations: 265.6 kB / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.007894, allocations: 192 / 279.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.007911, allocations: 12.38 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.007919, allocations: 7.938 kB / 279.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.008009, allocations: 63.47 kB / 280 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.008864, allocations: 0.8254 MB / 280.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.009151, allocations: 82.47 kB / 280.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.009186, allocations: 32.78 kB / 280.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.009203, allocations: 4 kB / 280.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.009349, allocations: 126.7 kB / 281.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.51e-07/0.00935, allocations: 4 kB / 281.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004154/0.009765, allocations: 214.3 kB / 281.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.009801, allocations: 81.11 kB / 281.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.009927, allocations: 236.9 kB / 281.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.009942, allocations: 33.69 kB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.01001, allocations: 184 kB / 281.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.01004, allocations: 35.69 kB / 281.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.01009, allocations: 57.62 kB / 281.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.01016, allocations: 334.7 kB / 282.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.01021, allocations: 45.92 kB / 282.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.01029, allocations: 170.9 kB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.01041, allocations: 163.8 kB / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01041, allocations: 4.031 kB / 282.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002471/0.01066, allocations: 248.6 kB / 282.8 MB, free: 7.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.01069, allocations: 41.98 kB / 282.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01069, allocations: 4 kB / 282.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.01083, allocations: 48.83 kB / 282.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01096, allocations: 51.91 kB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006478/0.01161, allocations: 1.205 MB / 284.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01171, allocations: 35.95 kB / 284.2 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01172, allocations: 12 kB / 284.2 MB, free: 6.043 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 7.45e-05/0.0118, allocations: 137.7 kB / 284.4 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.01182, allocations: 19.97 kB / 284.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.01184, allocations: 21.72 kB / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.01184, allocations: 0 / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.01184, allocations: 0 / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01185, allocations: 7.984 kB / 284.4 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.813e-05/0.01195, allocations: 137.8 kB / 284.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01195, allocations: 0 / 284.5 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.01203, allocations: 31.97 kB / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-05/0.01213, allocations: 44.83 kB / 284.6 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.01214, allocations: 4 kB / 284.6 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.01266, allocations: 1.19 MB / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01266, allocations: 0 / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01285, allocations: 177.8 kB / 286 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01288, allocations: 23.78 kB / 286 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.01289, allocations: 8 kB / 286 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.01296, allocations: 15.98 kB / 286 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.013, allocations: 15.97 kB / 286 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01301, allocations: 7.984 kB / 286.1 MB, free: 4.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.01307, allocations: 74.78 kB / 286.1 MB, free: 3.992 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01307, allocations: 0 / 286.1 MB, free: 3.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.01324, allocations: 71.84 kB / 286.2 MB, free: 3.922 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 8.367e-05/0.01332, allocations: 92.38 kB / 286.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.01356, allocations: 283.5 kB / 286.6 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.01357, allocations: 4 kB / 286.6 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.01366, allocations: 151.4 kB / 286.7 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.0138, allocations: 64.23 kB / 286.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01498, allocations: 0.626 MB / 287.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.01503, allocations: 92.11 kB / 287.5 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.738e-05/0.01509, allocations: 22.3 kB / 287.5 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01521, allocations: 95.33 kB / 287.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01521, allocations: 0 / 287.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of Templates: time 0.005325/0.02054, allocations: 3.977 MB / 291.6 MB, free: 14.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.616194250062108]