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.001791/0.001791, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002008/0.002008, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.602/1.602, allocations: 230.6 MB / 254.1 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.002544/0.002544, allocations: 55.92 kB / 373.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1113, allocations: 53.33 MB / 426.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005229/0.1165, allocations: 2.883 MB / 429.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1184, allocations: 0.7635 MB / 430.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.1187, allocations: 7.938 kB / 430.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1189, allocations: 39.58 kB / 430.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1192, allocations: 107.2 kB / 430.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.1196, allocations: 107.8 kB / 430.7 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1201, allocations: 394.5 kB / 431.1 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2017/0.3218, allocations: 83.33 kB / 431.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.3222, allocations: 156.4 kB / 431.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3224, allocations: 170.3 kB / 431.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.3225, allocations: 38 kB / 431.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.3225, allocations: 38.59 kB / 431.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.3226, allocations: 75.77 kB / 431.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3227, allocations: 167.6 kB / 431.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.3232, allocations: 429.3 kB / 432.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3232, allocations: 1.312 kB / 432.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3232, allocations: 5.188 kB / 432.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3232, allocations: 0.625 kB / 432.3 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.001253/0.3245, allocations: 0.6626 MB / 432.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3245, allocations: 11.84 kB / 432.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.3246, allocations: 36.23 kB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3249, allocations: 283.1 kB / 433.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3249, allocations: 22.38 kB / 433.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.325, allocations: 24.84 kB / 433.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.3256, allocations: 313.6 kB / 433.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3256, allocations: 7.438 kB / 433.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3257, allocations: 10.69 kB / 433.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3257, allocations: 7.125 kB / 433.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.3265, allocations: 273.8 kB / 433.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3283, allocations: 1.173 MB / 435.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009131/0.3292, allocations: 236.3 kB / 435.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.3296, allocations: 98.42 kB / 435.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3296, allocations: 2.094 kB / 435.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.33, allocations: 184.8 kB / 435.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.33, allocations: 0 / 435.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002181/0.3322, allocations: 0.5898 MB / 436.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.3323, allocations: 84.41 kB / 436.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3325, allocations: 263.8 kB / 436.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3325, allocations: 36.14 kB / 436.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.3326, allocations: 196.5 kB / 436.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3327, allocations: 41.52 kB / 436.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.3328, allocations: 52.98 kB / 436.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.3328, allocations: 334.6 kB / 437.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.3332, allocations: 99.91 kB / 437.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.3336, allocations: 191.8 kB / 437.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.3343, allocations: 298.2 kB / 437.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3343, allocations: 1.344 kB / 437.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001264/0.3356, allocations: 448.3 kB / 438.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.3356, allocations: 33.8 kB / 438.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3356, allocations: 7.062 kB / 438.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.3359, allocations: 67.34 kB / 438.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3362, allocations: 53.66 kB / 438.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.3382, allocations: 1.632 MB / 440 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3386, allocations: 51.31 kB / 440 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3386, allocations: 9.594 kB / 440 MB, free: 3.926 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.0001356/0.3387, allocations: 150.9 kB / 440.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.3388, allocations: 30.23 kB / 440.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.3388, allocations: 25.75 kB / 440.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3388, allocations: 1.094 kB / 440.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3388, allocations: 0 / 440.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3388, allocations: 2.688 kB / 440.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.3391, allocations: 310 kB / 440.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3391, allocations: 0 / 440.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.3393, allocations: 37.05 kB / 440.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002435/0.3396, allocations: 67.38 kB / 440.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.3396, allocations: 1.812 kB / 440.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.3414, allocations: 1.63 MB / 442.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3414, allocations: 0 / 442.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3429, allocations: 454.5 kB / 442.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.3429, allocations: 105 kB / 442.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.343, allocations: 6.109 kB / 442.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3432, allocations: 31.09 kB / 442.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.3433, allocations: 16.52 kB / 442.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3433, allocations: 4.141 kB / 442.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.3435, allocations: 190.8 kB / 443.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 0 / 443.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.3439, allocations: 71.33 kB / 443.1 MB, free: 1.711 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.0001375/0.344, allocations: 109 kB / 443.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3451, allocations: 408.5 kB / 443.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3451, allocations: 0 / 443.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.3457, allocations: 212.8 kB / 443.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3461, allocations: 50.12 kB / 443.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.3499, allocations: 0.8813 MB / 444.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.3501, allocations: 0.7523 MB / 445.5 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3502, allocations: 29.06 kB / 445.5 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.3503, allocations: 20.25 kB / 445.6 MB, free: 184 kB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3503, allocations: 0 / 445.6 MB, free: 184 kB / 350.1 MB Notification: Performance of Templates: time 0.008942/0.3592, allocations: 3.742 MB / 449.3 MB, free: 15.94 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/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: 5.026108894497156]