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.001726/0.001726, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002075/0.002075, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.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 0.001586/0.001586, allocations: 47.92 kB / 374.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 53.34 MB / 427.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004611/0.1081, allocations: 2.888 MB / 430.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1098, allocations: 0.7596 MB / 431.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002977/0.1101, allocations: 7.938 kB / 431.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1103, allocations: 43.56 kB / 431.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1106, allocations: 107.2 kB / 431.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.111, allocations: 115.8 kB / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.1115, allocations: 386.5 kB / 431.8 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2003/0.3118, allocations: 88 kB / 431.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.3124, allocations: 159 kB / 432.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.3129, allocations: 162.2 kB / 432.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.313, allocations: 37.97 kB / 432.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3131, allocations: 38.06 kB / 432.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.3132, allocations: 81.19 kB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.3135, allocations: 167.3 kB / 432.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.3141, allocations: 423.9 kB / 432.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3141, allocations: 0 / 432.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3141, allocations: 3.188 kB / 432.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.3141, allocations: 3.938 kB / 433 MB, free: 8.02 MB / 350.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.001564/0.3157, allocations: 0.6651 MB / 433.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3157, allocations: 12.41 kB / 433.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3159, allocations: 36.7 kB / 433.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.3164, allocations: 283.1 kB / 433.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.3164, allocations: 22.22 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.3165, allocations: 23.91 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.3172, allocations: 316.6 kB / 434.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3172, allocations: 4.469 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.453e-05/0.3173, allocations: 13.06 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3173, allocations: 4.812 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.3181, allocations: 272.5 kB / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.3202, allocations: 1.172 MB / 435.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.3211, allocations: 238.7 kB / 436 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.3215, allocations: 99.73 kB / 436.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3215, allocations: 0.8438 kB / 436.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000476/0.322, allocations: 171.1 kB / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.322, allocations: 0 / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002218/0.3242, allocations: 0.5889 MB / 436.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3242, allocations: 91.78 kB / 436.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.3246, allocations: 263.6 kB / 437.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3246, allocations: 32.42 kB / 437.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3247, allocations: 203.2 kB / 437.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.3248, allocations: 42.11 kB / 437.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.3249, allocations: 46.91 kB / 437.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.325, allocations: 334.2 kB / 437.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.3254, allocations: 105.6 kB / 437.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.3258, allocations: 193.2 kB / 438.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.3266, allocations: 299.5 kB / 438.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3266, allocations: 0 / 438.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001307/0.3279, allocations: 444.1 kB / 438.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.3279, allocations: 40.34 kB / 438.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3279, allocations: 7.125 kB / 438.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.3283, allocations: 66.2 kB / 439 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3285, allocations: 53.17 kB / 439 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.3308, allocations: 1.632 MB / 440.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.3312, allocations: 58.89 kB / 440.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.3312, allocations: 10.52 kB / 440.7 MB, free: 3.922 MB / 350.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.0001636/0.3314, allocations: 150.5 kB / 440.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3314, allocations: 23.53 kB / 440.9 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.3315, allocations: 24.59 kB / 440.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3315, allocations: 1.562 kB / 440.9 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3315, allocations: 4 kB / 440.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3315, allocations: 2.047 kB / 440.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.3318, allocations: 310.4 kB / 441.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3318, allocations: 0 / 441.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.332, allocations: 37.36 kB / 441.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002381/0.3323, allocations: 63.95 kB / 441.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3323, allocations: 2.25 kB / 441.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.3341, allocations: 1.628 MB / 442.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3341, allocations: 0 / 442.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.3355, allocations: 455.1 kB / 443.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.3356, allocations: 105 kB / 443.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3357, allocations: 4.047 kB / 443.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3359, allocations: 34.62 kB / 443.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.336, allocations: 16.77 kB / 443.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.336, allocations: 4.078 kB / 443.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.3362, allocations: 186.6 kB / 443.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3362, allocations: 1.25 kB / 443.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.3366, allocations: 70.97 kB / 443.8 MB, free: 1.684 MB / 350.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.0001328/0.3367, allocations: 106.5 kB / 443.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3378, allocations: 409.9 kB / 444.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3378, allocations: 4.062 kB / 444.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.3383, allocations: 211.8 kB / 444.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3386, allocations: 52.28 kB / 444.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.3423, allocations: 0.9045 MB / 445.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3425, allocations: 0.7512 MB / 446.2 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.3426, allocations: 21.73 kB / 446.2 MB, free: 124 kB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3426, allocations: 1.219 kB / 446.3 MB, free: 124 kB / 350.1 MB Notification: Performance of Templates: time 0.0095/0.3521, allocations: 4.581 MB / 450.8 MB, free: 15.58 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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: 7.529471988993464]