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.001003/0.001003, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001162/0.001162, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9966/0.9966, allocations: 177.1 MB / 205.3 MB, free: 5.473 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 2.655e-06/2.655e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.591e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003434/0.00347, allocations: 2.844 MB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004712, allocations: 0.7361 MB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.004856, allocations: 7.938 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.004992, allocations: 43.58 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.005145, allocations: 119 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.005403, allocations: 107.8 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.005757, allocations: 406.3 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.005922, allocations: 79.67 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.006341, allocations: 235.4 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.006497, allocations: 135.6 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.674e-05/0.006533, allocations: 36 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.006569, allocations: 40 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.006615, allocations: 79.69 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.006696, allocations: 119.7 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.006944, allocations: 243.1 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006947, allocations: 4 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006947, allocations: 0 / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.006952, allocations: 0 / 278.6 MB, free: 11.99 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.0006544/0.007607, allocations: 0.6768 MB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.007638, allocations: 8.031 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.007696, allocations: 52.75 kB / 279.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.007911, allocations: 244.9 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.007925, allocations: 16.88 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.007961, allocations: 28.38 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.008239, allocations: 251.3 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.008247, allocations: 4.188 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.008262, allocations: 8.375 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.008271, allocations: 11.94 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.008367, allocations: 79.36 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009481/0.009315, allocations: 1.056 MB / 281.1 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.009503, allocations: 103.1 kB / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.00954, allocations: 31.67 kB / 281.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.009553, allocations: 0 / 281.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.009686, allocations: 145.9 kB / 281.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.11e-07/0.009687, allocations: 4 kB / 281.3 MB, free: 9.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004412/0.01013, allocations: 237.4 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.01016, allocations: 85.05 kB / 281.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.01032, allocations: 296.1 kB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.01033, allocations: 29.7 kB / 282 MB, free: 8.398 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.01042, allocations: 242.7 kB / 282.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.01045, allocations: 39.67 kB / 282.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.01051, allocations: 59.28 kB / 282.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.01062, allocations: 0.5117 MB / 282.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.01067, allocations: 45.92 kB / 282.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.01082, allocations: 207.7 kB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.01095, allocations: 197.8 kB / 283.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01095, allocations: 0 / 283.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002962/0.01125, allocations: 291.8 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.01127, allocations: 33.7 kB / 283.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01128, allocations: 4.344 kB / 283.6 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.01144, allocations: 55.59 kB / 283.6 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01154, allocations: 51.97 kB / 283.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008064/0.01235, allocations: 1.762 MB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01247, allocations: 39.88 kB / 285.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.01248, allocations: 12 kB / 285.5 MB, free: 4.574 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 8.726e-05/0.01257, allocations: 176.5 kB / 285.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.0126, allocations: 35.78 kB / 285.7 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.01262, allocations: 17.78 kB / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/0.01262, allocations: 0 / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01262, allocations: 0 / 285.7 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01263, allocations: 7.984 kB / 285.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.01276, allocations: 173.1 kB / 285.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01276, allocations: 0 / 285.9 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.01283, allocations: 23.98 kB / 285.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.01293, allocations: 47.66 kB / 286 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.01294, allocations: 4 kB / 286 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007375/0.01368, allocations: 1.748 MB / 287.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01368, allocations: 4 kB / 287.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.01393, allocations: 211.7 kB / 287.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.01396, allocations: 27.78 kB / 288 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.01397, allocations: 8.094 kB / 288 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.01405, allocations: 15.98 kB / 288 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.01409, allocations: 19.97 kB / 288 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.0141, allocations: 4 kB / 288 MB, free: 1.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.01418, allocations: 193.1 kB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01418, allocations: 0 / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01438, allocations: 75.84 kB / 288.3 MB, free: 1.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 9.142e-05/0.01447, allocations: 99.25 kB / 288.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.01475, allocations: 361.4 kB / 288.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01475, allocations: 0 / 288.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01487, allocations: 209.5 kB / 288.9 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.01505, allocations: 53.03 kB / 289 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.01624, allocations: 0.6199 MB / 289.6 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.01628, allocations: 88.17 kB / 289.7 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.613e-05/0.01635, allocations: 26.28 kB / 289.7 MB, free: 56 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.01647, allocations: 118.2 kB / 289.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01647, allocations: 0 / 289.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of Templates: time 0.005399/0.02187, allocations: 4.065 MB / 293.9 MB, free: 11.95 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 -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.852869241964072]