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.001089/0.001089, allocations: 73.11 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001813/0.002902, allocations: 453.8 kB / 10.45 MB, free: 248 kB / 10.45 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.0009204/0.0009204, allocations: 157.2 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002177, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9716/0.9716, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08768/1.059, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.613e-06/1.613e-06, allocations: 0 / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.888e-05, allocations: 6.109 kB / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002798/0.002817, allocations: 2.913 MB / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003932, allocations: 0.7593 MB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.004062, allocations: 4 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.081e-05/0.004153, allocations: 47.52 kB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.004296, allocations: 107.1 kB / 248.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.004503, allocations: 123.7 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.004822, allocations: 402.3 kB / 249.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.004968, allocations: 90.28 kB / 249.2 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.00529, allocations: 279.8 kB / 249.5 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.005446, allocations: 127.6 kB / 249.6 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.005486, allocations: 36 kB / 249.6 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.005524, allocations: 40 kB / 249.7 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.005571, allocations: 55.81 kB / 249.7 MB, free: 9.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.888e-05/0.00565, allocations: 99.81 kB / 249.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.005908, allocations: 223.2 kB / 250 MB, free: 8.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.00592, allocations: 0 / 250 MB, free: 8.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005921, allocations: 0 / 250 MB, free: 8.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.005933, allocations: 0 / 250 MB, free: 8.867 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.000794/0.006727, allocations: 0.6027 MB / 250.6 MB, free: 8.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.006755, allocations: 12.03 kB / 250.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.006813, allocations: 40.91 kB / 250.7 MB, free: 8.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.007025, allocations: 194.2 kB / 250.9 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.007039, allocations: 16.88 kB / 250.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.007071, allocations: 24.38 kB / 250.9 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.007344, allocations: 253.7 kB / 251.2 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.007353, allocations: 4.125 kB / 251.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.007369, allocations: 12.36 kB / 251.2 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.007376, allocations: 15.94 kB / 251.2 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.007467, allocations: 63.47 kB / 251.3 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008637/0.00833, allocations: 0.8216 MB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.008533, allocations: 90.47 kB / 252.2 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.008567, allocations: 24.84 kB / 252.2 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.008585, allocations: 7.938 kB / 252.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.008724, allocations: 130.7 kB / 252.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.008725, allocations: 0 / 252.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004141/0.009139, allocations: 206.7 kB / 252.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.009167, allocations: 55.41 kB / 252.6 MB, free: 6.129 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.009313, allocations: 240.9 kB / 252.8 MB, free: 5.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.009332, allocations: 25.7 kB / 252.8 MB, free: 5.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.00942, allocations: 188 kB / 253 MB, free: 5.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.009452, allocations: 43.61 kB / 253.1 MB, free: 5.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.009513, allocations: 49.64 kB / 253.1 MB, free: 5.562 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.009606, allocations: 342.7 kB / 253.5 MB, free: 5.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.009661, allocations: 49.92 kB / 253.5 MB, free: 5.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/0.009759, allocations: 159 kB / 253.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.0099, allocations: 183.8 kB / 253.8 MB, free: 4.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009903, allocations: 0 / 253.8 MB, free: 4.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002889/0.01019, allocations: 241.6 kB / 254.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.01024, allocations: 37.69 kB / 254.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01025, allocations: 4 kB / 254.1 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.01045, allocations: 53.11 kB / 254.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.01063, allocations: 51.97 kB / 254.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.01165, allocations: 1.414 MB / 255.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.0118, allocations: 36 kB / 255.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01182, allocations: 8 kB / 255.7 MB, free: 2.773 MB / 250.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.21e-05/0.01191, allocations: 133 kB / 255.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.01194, allocations: 15.97 kB / 255.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.01196, allocations: 25.78 kB / 255.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01197, allocations: 0 / 255.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01197, allocations: 0 / 255.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01197, allocations: 3.984 kB / 255.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.01211, allocations: 149.7 kB / 256 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01211, allocations: 4 kB / 256 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.01224, allocations: 35.91 kB / 256 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.01226, allocations: 19.86 kB / 256.1 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.01238, allocations: 44.83 kB / 256.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01239, allocations: 4 kB / 256.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006589/0.01305, allocations: 1.194 MB / 257.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01306, allocations: 0 / 257.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.01333, allocations: 185.9 kB / 257.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01335, allocations: 0 / 257.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.01344, allocations: 19.98 kB / 257.5 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.01349, allocations: 15.97 kB / 257.5 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.0135, allocations: 7.984 kB / 257.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.01357, allocations: 78.72 kB / 257.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01357, allocations: 0 / 257.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01386, allocations: 71.92 kB / 257.7 MB, free: 0.6484 MB / 250.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.0001063/0.01396, allocations: 84.36 kB / 257.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.01437, allocations: 344.1 kB / 258.1 MB, free: 192 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.01438, allocations: 4 kB / 258.1 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.01451, allocations: 151.5 kB / 258.2 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.01487, allocations: 491.9 kB / 258.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.01734, allocations: 0.6103 MB / 259.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.01739, allocations: 88.31 kB / 259.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.729e-05/0.01748, allocations: 22.23 kB / 259.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.01762, allocations: 103.3 kB / 259.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01762, allocations: 0 / 259.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Templates: time 0.006958/0.02458, allocations: 4.124 MB / 263.7 MB, free: 10.53 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5219625225290656]