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: 83.59 kB / 21.18 MB, free: 3.383 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.0009922/0.0009922, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9474/0.9474, allocations: 177.1 MB / 205 MB, free: 5.613 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.462e-06/1.462e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.115e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004053/0.004074, allocations: 2.891 MB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.005546, allocations: 0.7362 MB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.005704, allocations: 7.938 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.005879, allocations: 39.58 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.006097, allocations: 115.1 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.006431, allocations: 115.7 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.006881, allocations: 406.3 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.00709, allocations: 83.67 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.007511, allocations: 235.4 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.007728, allocations: 131.6 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-05/0.007788, allocations: 40 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.007845, allocations: 40 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.007925, allocations: 67.75 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.008056, allocations: 127.7 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.00841, allocations: 243.1 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.008414, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008415, allocations: 4 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.008422, allocations: 0 / 278.3 MB, free: 12.21 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.00113/0.009552, allocations: 0.6691 MB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.009594, allocations: 8.031 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.009706, allocations: 56.73 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.01012, allocations: 233 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.01015, allocations: 24.86 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.01021, allocations: 24.38 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.01076, allocations: 275.3 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.01077, allocations: 192 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.0108, allocations: 16.38 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01082, allocations: 11.88 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.01108, allocations: 94.94 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01217, allocations: 1.048 MB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.01245, allocations: 115.1 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.01251, allocations: 39.66 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.01253, allocations: 0 / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.01282, allocations: 138.1 kB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.01282, allocations: 0 / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005672/0.01339, allocations: 260.9 kB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.01343, allocations: 81.11 kB / 281.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.0136, allocations: 296.2 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.01362, allocations: 33.7 kB / 281.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.736e-05/0.01372, allocations: 242.8 kB / 281.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.01374, allocations: 39.69 kB / 281.9 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.0138, allocations: 59.31 kB / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.0139, allocations: 0.5 MB / 282.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.01398, allocations: 61.91 kB / 282.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.0141, allocations: 211.7 kB / 282.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.01425, allocations: 213.8 kB / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01426, allocations: 0 / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003317/0.01459, allocations: 304.2 kB / 283.3 MB, free: 6.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.01461, allocations: 33.7 kB / 283.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01462, allocations: 4 kB / 283.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.01482, allocations: 52 kB / 283.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01493, allocations: 55.91 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.01607, allocations: 1.775 MB / 285.2 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.0162, allocations: 31.88 kB / 285.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01621, allocations: 12 kB / 285.2 MB, free: 4.684 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.839e-05/0.0163, allocations: 180 kB / 285.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.01633, allocations: 35.84 kB / 285.4 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.01635, allocations: 25.78 kB / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.01635, allocations: 0 / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01635, allocations: 0 / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01636, allocations: 3.984 kB / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.0165, allocations: 212.5 kB / 285.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.0165, allocations: 0 / 285.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.566e-05/0.01657, allocations: 23.98 kB / 285.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.01669, allocations: 59.53 kB / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.0167, allocations: 7.984 kB / 285.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006923/0.01739, allocations: 1.76 MB / 287.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01739, allocations: 3.938 kB / 287.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.01767, allocations: 219.8 kB / 287.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01769, allocations: 27.8 kB / 287.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.01771, allocations: 4 kB / 287.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.01778, allocations: 24.06 kB / 287.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.01783, allocations: 19.97 kB / 287.8 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.01784, allocations: 3.938 kB / 287.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.01795, allocations: 205.1 kB / 288 MB, free: 1.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01795, allocations: 3.938 kB / 288 MB, free: 1.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01815, allocations: 71.84 kB / 288.1 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 8.43e-05/0.01824, allocations: 107.2 kB / 288.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.01857, allocations: 361.7 kB / 288.6 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01857, allocations: 0 / 288.6 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01869, allocations: 213.5 kB / 288.8 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.01889, allocations: 52.34 kB / 288.8 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.02018, allocations: 0.6329 MB / 289.4 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.02022, allocations: 88.17 kB / 289.5 MB, free: 60 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.02028, allocations: 26.28 kB / 289.6 MB, free: 32 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.02033, allocations: 20.5 kB / 289.6 MB, free: 12 kB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02033, allocations: 0 / 289.6 MB, free: 12 kB / 266.7 MB Notification: Performance of Templates: time 0.005547/0.02588, allocations: 3.998 MB / 293.6 MB, free: 12.07 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.768570263404399]