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.001348/0.001348, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001433/0.001433, allocations: 145.5 kB / 24.89 MB, free: 8.738 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 0.8769/0.8769, allocations: 173.4 MB / 201.5 MB, free: 8.238 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.082e-06/1.082e-06, allocations: 0 / 268.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.472e-05, allocations: 5.266 kB / 268.5 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002727/0.002742, allocations: 2.824 MB / 271.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000962/0.003704, allocations: 0.7205 MB / 272.1 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003818, allocations: 8.938 kB / 272.1 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.003945, allocations: 43.56 kB / 272.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.004094, allocations: 108.6 kB / 272.2 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.004319, allocations: 120.4 kB / 272.3 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.004621, allocations: 398.3 kB / 272.7 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.004767, allocations: 97.28 kB / 272.8 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.004996, allocations: 231.4 kB / 273 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.005136, allocations: 127.6 kB / 273.2 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.005175, allocations: 40 kB / 273.2 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.005208, allocations: 36 kB / 273.2 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.00526, allocations: 83.67 kB / 273.3 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.005346, allocations: 119.7 kB / 273.4 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.005574, allocations: 235.2 kB / 273.7 MB, free: 4.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005576, allocations: 4.906 kB / 273.7 MB, free: 4.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005576, allocations: 0 / 273.7 MB, free: 4.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.005579, allocations: 4 kB / 273.7 MB, free: 4.598 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.0006214/0.006201, allocations: 0.5366 MB / 274.2 MB, free: 4.027 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.006227, allocations: 8.031 kB / 274.2 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.006284, allocations: 44.84 kB / 274.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.006487, allocations: 202.2 kB / 274.5 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.006502, allocations: 20.88 kB / 274.5 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.006536, allocations: 24.38 kB / 274.5 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.006799, allocations: 249.7 kB / 274.8 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006808, allocations: 4.125 kB / 274.8 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.006825, allocations: 12.38 kB / 274.8 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006833, allocations: 7.938 kB / 274.8 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.006923, allocations: 63.47 kB / 274.8 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.007748, allocations: 0.8255 MB / 275.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.007935, allocations: 90.45 kB / 275.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.007966, allocations: 24.86 kB / 275.8 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.007982, allocations: 7.984 kB / 275.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.008095, allocations: 130.6 kB / 275.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.008096, allocations: 0 / 275.9 MB, free: 2.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.000411/0.008507, allocations: 206.3 kB / 276.1 MB, free: 1.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.008537, allocations: 81.11 kB / 276.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.008665, allocations: 233 kB / 276.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.008681, allocations: 29.7 kB / 276.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.00875, allocations: 187.9 kB / 276.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.008776, allocations: 43.67 kB / 276.7 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.008826, allocations: 49.69 kB / 276.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.0089, allocations: 338.7 kB / 277.1 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.008945, allocations: 45.92 kB / 277.1 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-05/0.00903, allocations: 170.9 kB / 277.3 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.009148, allocations: 175.8 kB / 277.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00915, allocations: 0 / 277.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002368/0.009387, allocations: 244.7 kB / 277.7 MB, free: 248 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.009411, allocations: 39.98 kB / 277.7 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.009416, allocations: 0 / 277.7 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.009564, allocations: 52.89 kB / 277.8 MB, free: 148 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.009671, allocations: 47.91 kB / 277.8 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006458/0.01032, allocations: 1.21 MB / 279 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01043, allocations: 43.81 kB / 279.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.01044, allocations: 8 kB / 279.1 MB, free: 14.75 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.467e-05/0.01051, allocations: 129.8 kB / 279.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.01053, allocations: 15.97 kB / 279.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.01056, allocations: 29.72 kB / 279.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.01056, allocations: 0 / 279.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01056, allocations: 3.984 kB / 279.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01056, allocations: 4 kB / 279.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.01067, allocations: 145.7 kB / 279.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01067, allocations: 0 / 279.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.01074, allocations: 27.98 kB / 279.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.87e-05/0.01084, allocations: 44.83 kB / 279.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01084, allocations: 4 kB / 279.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005117/0.01136, allocations: 1.19 MB / 280.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01136, allocations: 0 / 280.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.01156, allocations: 181.8 kB / 280.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.01158, allocations: 15.86 kB / 280.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.0116, allocations: 8 kB / 280.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.01167, allocations: 15.98 kB / 280.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.01171, allocations: 15.97 kB / 280.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.01172, allocations: 3.984 kB / 280.9 MB, free: 12.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.01177, allocations: 78.78 kB / 281 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01177, allocations: 4.031 kB / 281 MB, free: 12.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.01194, allocations: 71.89 kB / 281.1 MB, free: 12.63 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 7.499e-05/0.01201, allocations: 84.34 kB / 281.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01226, allocations: 284.1 kB / 281.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01227, allocations: 7.938 kB / 281.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.01236, allocations: 148.4 kB / 281.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.0125, allocations: 56.39 kB / 281.6 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.01364, allocations: 0.6182 MB / 282.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.01368, allocations: 84.31 kB / 282.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.356e-05/0.01374, allocations: 26.28 kB / 282.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.01385, allocations: 95.34 kB / 282.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01385, allocations: 0 / 282.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.005088/0.01894, allocations: 3.915 MB / 286.4 MB, free: 7.301 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.567621188238263]