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.0009547/0.0009547, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.007427/0.007427, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 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.8641/0.8641, allocations: 177.1 MB / 205 MB, free: 5.73 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.203e-06/1.203e-06, allocations: 3.938 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.902e-05, allocations: 2.281 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002751/0.00277, allocations: 2.708 MB / 328.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.003634, allocations: 0.7323 MB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.003743, allocations: 4 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.003869, allocations: 43.58 kB / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.003997, allocations: 115.1 kB / 329.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.004227, allocations: 115.7 kB / 329.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.00452, allocations: 410.2 kB / 330 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.004682, allocations: 79.69 kB / 330.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.004948, allocations: 223.5 kB / 330.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.005083, allocations: 131.6 kB / 330.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.00512, allocations: 36 kB / 330.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.227e-05/0.005152, allocations: 40 kB / 330.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.0052, allocations: 75.75 kB / 330.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.178e-05/0.005282, allocations: 119.7 kB / 330.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.005586, allocations: 438.6 kB / 331.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005588, allocations: 0 / 331.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005589, allocations: 0 / 331.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.005593, allocations: 0 / 331.1 MB, free: 10.14 MB / 298.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.0007882/0.006382, allocations: 0.5926 MB / 331.7 MB, free: 9.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.006412, allocations: 8.031 kB / 331.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.006464, allocations: 32.75 kB / 331.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.006719, allocations: 234.1 kB / 332 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.006736, allocations: 20.88 kB / 332 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.00677, allocations: 24.38 kB / 332 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.007187, allocations: 344.9 kB / 332.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.007196, allocations: 8.125 kB / 332.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.007216, allocations: 8.375 kB / 332.4 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.007223, allocations: 15.88 kB / 332.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.007625, allocations: 269.8 kB / 332.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.008688, allocations: 0.9954 MB / 333.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.009186, allocations: 242.5 kB / 333.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.009347, allocations: 96.78 kB / 334 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.009366, allocations: 4 kB / 334 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.00963, allocations: 194.6 kB / 334.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.009631, allocations: 0 / 334.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001264/0.01089, allocations: 0.5213 MB / 334.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.01094, allocations: 81.11 kB / 334.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.01111, allocations: 261.8 kB / 335 MB, free: 6.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.01113, allocations: 29.7 kB / 335 MB, free: 5.969 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.01122, allocations: 204 kB / 335.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.01124, allocations: 39.69 kB / 335.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.0113, allocations: 49.66 kB / 335.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.01138, allocations: 334.8 kB / 335.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.01156, allocations: 125.9 kB / 335.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.01179, allocations: 254.9 kB / 336 MB, free: 4.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.01215, allocations: 302.5 kB / 336.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01216, allocations: 4 kB / 336.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006141/0.01277, allocations: 469.5 kB / 336.8 MB, free: 4.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.01281, allocations: 41.69 kB / 336.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01282, allocations: 8.062 kB / 336.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.01304, allocations: 64.8 kB / 336.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01316, allocations: 51.91 kB / 337 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.01444, allocations: 1.51 MB / 338.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.01458, allocations: 47.81 kB / 338.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.0146, allocations: 16.09 kB / 338.5 MB, free: 2.23 MB / 298.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.0001065/0.0147, allocations: 149.7 kB / 338.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.01473, allocations: 27.8 kB / 338.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.01475, allocations: 17.78 kB / 338.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01475, allocations: 7.984 kB / 338.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01476, allocations: 3.938 kB / 338.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01476, allocations: 0 / 338.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.01492, allocations: 209.2 kB / 338.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01492, allocations: 0 / 338.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.691e-05/0.01502, allocations: 31.97 kB / 339 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001264/0.01514, allocations: 68.73 kB / 339 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01516, allocations: 7.984 kB / 339 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009884/0.01614, allocations: 1.495 MB / 340.5 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01615, allocations: 0 / 340.5 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.0168, allocations: 449.4 kB / 341 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.01683, allocations: 31.81 kB / 341 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.01685, allocations: 0 / 341 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.01695, allocations: 31.95 kB / 341 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.017, allocations: 23.97 kB / 341.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.017, allocations: 7.938 kB / 341.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.01711, allocations: 181.2 kB / 341.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01711, allocations: 4.062 kB / 341.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.0173, allocations: 67.89 kB / 341.3 MB, free: 15.27 MB / 314.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.0002345/0.01754, allocations: 103.2 kB / 341.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.01806, allocations: 434.4 kB / 341.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01806, allocations: 4 kB / 341.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.01827, allocations: 207.2 kB / 342 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.01845, allocations: 41.25 kB / 342.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.02008, allocations: 0.871 MB / 343 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.02016, allocations: 146.9 kB / 343.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.02021, allocations: 20.5 kB / 343.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02021, allocations: 0 / 343.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of Templates: time 0.003944/0.02416, allocations: 4.637 MB / 347.8 MB, free: 8.742 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.594228551723063]