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.001069/0.001069, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001065/0.001065, allocations: 161.4 kB / 24.56 MB, free: 16 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 1.089/1.089, allocations: 177.1 MB / 205 MB, free: 5.633 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.763e-06/1.763e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.245e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003172/0.003195, allocations: 2.889 MB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004436, allocations: 0.7361 MB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.00458, allocations: 7.938 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.004734, allocations: 47.56 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.004896, allocations: 107.1 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.005205, allocations: 115.7 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.005594, allocations: 402.3 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.005805, allocations: 87.66 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.006244, allocations: 235.4 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.006425, allocations: 135.6 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.006482, allocations: 36 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.006533, allocations: 40 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.006598, allocations: 75.75 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.006721, allocations: 119.7 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.007088, allocations: 247.1 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.00709, allocations: 0 / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007092, allocations: 0 / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.007098, allocations: 0 / 278.3 MB, free: 12.23 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.001023/0.008121, allocations: 0.6691 MB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.008164, allocations: 11.97 kB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.00826, allocations: 48.75 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.008552, allocations: 241 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.008574, allocations: 16.88 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.008624, allocations: 28.36 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.009043, allocations: 275.3 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.009055, allocations: 8.188 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.00908, allocations: 8.375 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.009097, allocations: 15.88 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.009274, allocations: 98.92 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.01047, allocations: 1.04 MB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.01078, allocations: 115.1 kB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.01086, allocations: 35.67 kB / 280.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.01089, allocations: 4 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.01109, allocations: 134.1 kB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.01109, allocations: 0 / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007226/0.01182, allocations: 272.9 kB / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.01187, allocations: 81.11 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.0121, allocations: 300.2 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.01212, allocations: 25.7 kB / 281.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.01226, allocations: 242.8 kB / 281.9 MB, free: 8.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.0123, allocations: 39.69 kB / 281.9 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.01237, allocations: 55.31 kB / 282 MB, free: 8.234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01251, allocations: 0.5039 MB / 282.5 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.01259, allocations: 57.92 kB / 282.5 MB, free: 7.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.01273, allocations: 215.7 kB / 282.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.01292, allocations: 216.7 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01293, allocations: 0 / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003642/0.01329, allocations: 300.2 kB / 283.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.01332, allocations: 37.7 kB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01333, allocations: 4 kB / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.01356, allocations: 52 kB / 283.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01368, allocations: 51.91 kB / 283.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.01495, allocations: 1.779 MB / 285.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.0151, allocations: 35.88 kB / 285.2 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.01512, allocations: 11.98 kB / 285.2 MB, free: 4.695 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.0001113/0.01523, allocations: 180.5 kB / 285.4 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01526, allocations: 27.8 kB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.01529, allocations: 25.77 kB / 285.5 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01529, allocations: 4 kB / 285.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01529, allocations: 0 / 285.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.0153, allocations: 0 / 285.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.01546, allocations: 212.5 kB / 285.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01546, allocations: 0 / 285.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.01555, allocations: 31.97 kB / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.01569, allocations: 55.53 kB / 285.7 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.0157, allocations: 4 kB / 285.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009148/0.01662, allocations: 1.76 MB / 287.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.01662, allocations: 3.938 kB / 287.5 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.01695, allocations: 231.5 kB / 287.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.01698, allocations: 19.8 kB / 287.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.017, allocations: 11.98 kB / 287.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.01708, allocations: 20.08 kB / 287.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.01715, allocations: 15.97 kB / 287.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01716, allocations: 7.938 kB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.0173, allocations: 205.1 kB / 288 MB, free: 1.695 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0173, allocations: 0 / 288 MB, free: 1.695 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.01755, allocations: 79.78 kB / 288.1 MB, free: 1.617 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.0001452/0.0177, allocations: 95.25 kB / 288.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.01815, allocations: 369.6 kB / 288.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01815, allocations: 0 / 288.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.01832, allocations: 217.5 kB / 288.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.01856, allocations: 49.45 kB / 288.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.02012, allocations: 0.6316 MB / 289.4 MB, free: 184 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.02018, allocations: 84.17 kB / 289.5 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.513e-05/0.02025, allocations: 22.3 kB / 289.5 MB, free: 56 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.02031, allocations: 24.48 kB / 289.6 MB, free: 32 kB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02031, allocations: 0 / 289.6 MB, free: 32 kB / 266.7 MB Notification: Performance of Templates: time 0.006149/0.02646, allocations: 3.801 MB / 293.4 MB, free: 12.28 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: 3.305847190786153]