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.001155/0.001155, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.00155/0.00155, allocations: 141.2 kB / 25.59 MB, free: 8.918 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.9514/0.9514, allocations: 173.4 MB / 202.3 MB, free: 8.293 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.533e-06/1.533e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.018e-05, allocations: 2.312 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005077/0.005107, allocations: 2.84 MB / 272.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.0068, allocations: 0.7015 MB / 272.8 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.007041, allocations: 7.938 kB / 272.8 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.007244, allocations: 51.56 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.007555, allocations: 104.7 kB / 272.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.007982, allocations: 112.6 kB / 273.1 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.008565, allocations: 402.3 kB / 273.4 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.008803, allocations: 88.28 kB / 273.5 MB, free: 5.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.009268, allocations: 232.1 kB / 273.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.009524, allocations: 127.7 kB / 273.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.009596, allocations: 41.09 kB / 273.9 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.009658, allocations: 40 kB / 274 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.009735, allocations: 79.67 kB / 274 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.009895, allocations: 122 kB / 274.2 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.01027, allocations: 243.1 kB / 274.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.01028, allocations: 4 kB / 274.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01028, allocations: 0 / 274.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.01029, allocations: 0 / 274.4 MB, free: 4.574 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.001398/0.01168, allocations: 0.6628 MB / 275.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.01172, allocations: 12.03 kB / 275.1 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.01184, allocations: 52.64 kB / 275.1 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.01218, allocations: 229.1 kB / 275.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.0122, allocations: 20.88 kB / 275.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.01225, allocations: 24.38 kB / 275.4 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.01272, allocations: 251.3 kB / 275.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01273, allocations: 8.125 kB / 275.6 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.01276, allocations: 12.38 kB / 275.7 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01277, allocations: 7.938 kB / 275.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.01295, allocations: 75.42 kB / 275.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.01455, allocations: 1.056 MB / 276.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.01486, allocations: 107.1 kB / 276.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.01493, allocations: 35.61 kB / 276.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.01495, allocations: 4 kB / 276.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01514, allocations: 134.1 kB / 277.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 2.324e-06/0.01515, allocations: 0 / 277.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008123/0.01596, allocations: 241.3 kB / 277.3 MB, free: 1.449 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.01601, allocations: 89.11 kB / 277.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.01625, allocations: 292.1 kB / 277.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.01627, allocations: 25.7 kB / 277.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.01644, allocations: 250.7 kB / 277.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.01649, allocations: 43.62 kB / 278 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.01659, allocations: 59.28 kB / 278 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.01676, allocations: 0.5039 MB / 278.6 MB, free: 136 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.51e-05/0.01686, allocations: 49.92 kB / 278.6 MB, free: 76 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.01703, allocations: 203.7 kB / 278.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.01725, allocations: 205.8 kB / 279 MB, free: 15.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01725, allocations: 0 / 279 MB, free: 15.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005207/0.01778, allocations: 288.2 kB / 279.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.01782, allocations: 33.7 kB / 279.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01782, allocations: 0 / 279.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.01807, allocations: 59.98 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.01825, allocations: 55.91 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.01952, allocations: 1.757 MB / 281.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.01973, allocations: 35.83 kB / 281.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.01975, allocations: 12 kB / 281.2 MB, free: 13.18 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.0001375/0.01989, allocations: 179.5 kB / 281.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.01994, allocations: 31.8 kB / 281.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.01998, allocations: 21.77 kB / 281.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01998, allocations: 0 / 281.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01998, allocations: 4 kB / 281.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01999, allocations: 0 / 281.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.02061, allocations: 173.1 kB / 281.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.02061, allocations: 0 / 281.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.02074, allocations: 23.98 kB / 281.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.02091, allocations: 59.52 kB / 281.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.02093, allocations: 7.984 kB / 281.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.02197, allocations: 1.74 MB / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02197, allocations: 4 kB / 283.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.02237, allocations: 214.8 kB / 283.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.02241, allocations: 23.84 kB / 283.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.02244, allocations: 4 kB / 283.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.02258, allocations: 20.08 kB / 283.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.02264, allocations: 15.97 kB / 283.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.02265, allocations: 8 kB / 283.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.02278, allocations: 193.1 kB / 283.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02278, allocations: 0 / 283.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.02315, allocations: 79.77 kB / 284 MB, free: 10.21 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.0001356/0.02329, allocations: 103.2 kB / 284.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.0237, allocations: 358.2 kB / 284.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.0237, allocations: 0 / 284.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.02388, allocations: 209.8 kB / 284.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.02419, allocations: 46.42 kB / 284.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.02617, allocations: 0.6281 MB / 285.3 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.02624, allocations: 84.25 kB / 285.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.02635, allocations: 26.28 kB / 285.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.02653, allocations: 118.2 kB / 285.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02653, allocations: 0 / 285.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Templates: time 0.008816/0.03534, allocations: 4.119 MB / 289.7 MB, free: 4.492 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.815491280052811]