Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008186/0.0008186, allocations: 91.61 kB / 22.19 MB, free: 2.371 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.0007842/0.0007842, allocations: 159.9 kB / 25.45 MB, free: 8.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8308/0.8308, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 299.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.218e-05, allocations: 2.281 kB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002672/0.002694, allocations: 2.451 MB / 302.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003774, allocations: 0.6786 MB / 302.9 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.003908, allocations: 4 kB / 302.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.004053, allocations: 43.58 kB / 302.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.004209, allocations: 83.27 kB / 303 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.004516, allocations: 95.75 kB / 303.1 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.004852, allocations: 334.5 kB / 303.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.005018, allocations: 48.91 kB / 303.5 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.00528, allocations: 203.4 kB / 303.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.005414, allocations: 103.7 kB / 303.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.005459, allocations: 28 kB / 303.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.005491, allocations: 28 kB / 303.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.005543, allocations: 59.75 kB / 303.9 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.005635, allocations: 95.75 kB / 304 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.005941, allocations: 315 kB / 304.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.005944, allocations: 0 / 304.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005945, allocations: 3.938 kB / 304.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.005951, allocations: 0 / 304.3 MB, free: 2.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009383/0.006889, allocations: 0.5503 MB / 304.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.006933, allocations: 15.98 kB / 304.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.006994, allocations: 24.8 kB / 304.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.007304, allocations: 224.8 kB / 305.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.007323, allocations: 16.73 kB / 305.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.007357, allocations: 16.38 kB / 305.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.007758, allocations: 262.8 kB / 305.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.00777, allocations: 4.125 kB / 305.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.007788, allocations: 4.375 kB / 305.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.007797, allocations: 11.94 kB / 305.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.008194, allocations: 243.6 kB / 305.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.009189, allocations: 0.6821 MB / 306.3 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.009703, allocations: 222.6 kB / 306.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.009865, allocations: 92.78 kB / 306.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.009891, allocations: 0 / 306.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.01019, allocations: 190.7 kB / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.01019, allocations: 0 / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009673/0.01115, allocations: 481.8 kB / 307.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.01121, allocations: 77.11 kB / 307.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.01138, allocations: 231.3 kB / 307.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.0114, allocations: 29.7 kB / 307.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.01148, allocations: 160.2 kB / 307.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.01151, allocations: 51.58 kB / 307.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.01156, allocations: 41.7 kB / 307.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.01166, allocations: 330.8 kB / 308.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.01184, allocations: 126.4 kB / 308.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.01203, allocations: 198.2 kB / 308.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.01235, allocations: 239.6 kB / 308.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01235, allocations: 0 / 308.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005373/0.01289, allocations: 424 kB / 309.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.01292, allocations: 49.62 kB / 309.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01292, allocations: 4 kB / 309.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.01317, allocations: 88.75 kB / 309.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01328, allocations: 43.91 kB / 309.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.01429, allocations: 1.432 MB / 310.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01443, allocations: 43.8 kB / 310.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01444, allocations: 8 kB / 310.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001903/0.01463, allocations: 205.8 kB / 311 MB, free: 11.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001638/0.0148, allocations: 194.1 kB / 311.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002555/0.01505, allocations: 219.4 kB / 311.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.01505, allocations: 8.031 kB / 311.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0003783/0.01543, allocations: 337.5 kB / 311.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01545, allocations: 32.67 kB / 311.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.01545, allocations: 4.188 kB / 311.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.102e-05/0.0155, allocations: 32.78 kB / 311.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.0156, allocations: 39.97 kB / 311.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006565/0.01625, allocations: 1.426 MB / 313.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01638, allocations: 35.86 kB / 313.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01639, allocations: 12.09 kB / 313.3 MB, free: 8.633 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/0.01648, allocations: 188.2 kB / 313.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.0165, allocations: 27.89 kB / 313.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.01653, allocations: 29.44 kB / 313.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.01653, allocations: 0 / 313.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01653, allocations: 0 / 313.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01654, allocations: 4 kB / 313.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.01667, allocations: 177.2 kB / 313.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01667, allocations: 4 kB / 313.8 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.01677, allocations: 39.91 kB / 313.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.01688, allocations: 44.81 kB / 313.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.01689, allocations: 7.938 kB / 313.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008401/0.01774, allocations: 1.412 MB / 315.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01774, allocations: 0 / 315.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.0183, allocations: 398.3 kB / 315.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01832, allocations: 15.89 kB / 315.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01834, allocations: 16.19 kB / 315.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.01843, allocations: 19.97 kB / 315.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.01851, allocations: 39.77 kB / 315.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01852, allocations: 4 kB / 315.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.01863, allocations: 164.5 kB / 315.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01863, allocations: 0 / 315.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.01893, allocations: 111.8 kB / 316 MB, free: 5.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.867e-05/0.01903, allocations: 99.25 kB / 316.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007858/0.01981, allocations: 0.7027 MB / 316.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01982, allocations: 0 / 316.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.02003, allocations: 202.6 kB / 317 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.02025, allocations: 40.97 kB / 317 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007787/0.02103, allocations: 492 kB / 317.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.02113, allocations: 126.2 kB / 317.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.02118, allocations: 32.48 kB / 317.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02118, allocations: 0 / 317.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of Templates: time 0.004861/0.02604, allocations: 4.01 MB / 321.7 MB, free: 15.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4486919436603785]