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.00136/0.00136, allocations: 84.23 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001548/0.001548, allocations: 172.4 kB / 23.96 MB, free: 4.148 MB / 14.72 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.824e-06/1.824e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.348e-05, allocations: 6.641 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.006773/0.006807, allocations: 2.713 MB / 327.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.009396, allocations: 0.7243 MB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.009657, allocations: 3.938 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.009927, allocations: 45.45 kB / 328.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.01031, allocations: 111.3 kB / 328.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.01082, allocations: 118.6 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.01162, allocations: 404.8 kB / 329.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.01195, allocations: 80.61 kB / 329.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006391/0.01259, allocations: 235.2 kB / 329.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.01292, allocations: 125 kB / 329.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.647e-05/0.01301, allocations: 39.12 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.01312, allocations: 37.47 kB / 329.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.01324, allocations: 72.06 kB / 329.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.01349, allocations: 118.5 kB / 329.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008585/0.01435, allocations: 445.8 kB / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.01435, allocations: 0 / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01435, allocations: 0 / 330.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.557e-06/0.01436, allocations: 0 / 330.3 MB, free: 13.29 MB / 302.1 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.002073/0.01644, allocations: 0.5877 MB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.01648, allocations: 7.906 kB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.0166, allocations: 34.25 kB / 331 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.0172, allocations: 241.8 kB / 331.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.01723, allocations: 18.47 kB / 331.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.01732, allocations: 23.97 kB / 331.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.01851, allocations: 344.7 kB / 331.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01853, allocations: 192 / 331.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.01858, allocations: 10.69 kB / 331.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.0186, allocations: 13.38 kB / 331.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.02, allocations: 279.5 kB / 331.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/0.02335, allocations: 0.9952 MB / 332.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.02491, allocations: 239.3 kB / 333.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.02552, allocations: 97.66 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.02555, allocations: 6.25 kB / 333.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008413/0.0264, allocations: 195.1 kB / 333.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.966e-06/0.0264, allocations: 0 / 333.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.003688/0.03009, allocations: 0.5172 MB / 333.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.03019, allocations: 83.45 kB / 334 MB, free: 10.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/0.0307, allocations: 259.5 kB / 334.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.03075, allocations: 26.64 kB / 334.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.03101, allocations: 209.8 kB / 334.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.03108, allocations: 37.09 kB / 334.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.03124, allocations: 55.02 kB / 334.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.03147, allocations: 331.7 kB / 334.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.03215, allocations: 133.1 kB / 335 MB, free: 9.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/0.03293, allocations: 244.6 kB / 335.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.03425, allocations: 304 kB / 335.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.03426, allocations: 1.281 kB / 335.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002253/0.03651, allocations: 476.2 kB / 336 MB, free: 9.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-05/0.03657, allocations: 32.48 kB / 336.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.03659, allocations: 6.688 kB / 336.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.03715, allocations: 72.25 kB / 336.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.03759, allocations: 58.73 kB / 336.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.04161, allocations: 1.511 MB / 337.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.04223, allocations: 48.22 kB / 337.8 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.04227, allocations: 13.28 kB / 337.8 MB, free: 7.547 MB / 302.1 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.0003459/0.04262, allocations: 152.8 kB / 337.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.0427, allocations: 25.39 kB / 337.9 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/0.04277, allocations: 27.86 kB / 338 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.04278, allocations: 0.9062 kB / 338 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.04278, allocations: 0.9375 kB / 338 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.04279, allocations: 0 / 338 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.04323, allocations: 207.7 kB / 338.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.04323, allocations: 0 / 338.2 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.04355, allocations: 34.97 kB / 338.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.04393, allocations: 70.91 kB / 338.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.04395, allocations: 1.094 kB / 338.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.04755, allocations: 1.509 MB / 339.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.04755, allocations: 0 / 339.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.05003, allocations: 446.8 kB / 340.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.05011, allocations: 27.81 kB / 340.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.05016, allocations: 4 kB / 340.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.05041, allocations: 27.97 kB / 340.3 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.0505, allocations: 15.97 kB / 340.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.05052, allocations: 11.94 kB / 340.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002145/0.05074, allocations: 185.2 kB / 340.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05074, allocations: 3.938 kB / 340.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.05114, allocations: 71.95 kB / 340.6 MB, free: 5.02 MB / 302.1 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.0001574/0.0513, allocations: 95.25 kB / 340.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.05239, allocations: 435.6 kB / 341.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.05239, allocations: 0 / 341.1 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.05287, allocations: 210.5 kB / 341.3 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.0532, allocations: 45.03 kB / 341.3 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.05691, allocations: 0.8421 MB / 342.2 MB, free: 3.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.05705, allocations: 142.9 kB / 342.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.05716, allocations: 22.28 kB / 342.3 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.05723, allocations: 28.5 kB / 342.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.05723, allocations: 0 / 342.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of Templates: time 0.008624/0.06585, allocations: 3.734 MB / 346.1 MB, free: 15.44 MB / 318.1 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.424296800047159]