Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.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.0009056/0.0009056, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002138, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007388/0.0007388, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009639/0.001703, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9547/0.9547, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1131/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.903/1.903, allocations: 378.3 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4736/2.377, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) 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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.7297 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.364e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003148/0.003172, allocations: 1.896 MB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.004957, allocations: 1.241 MB / 0.7327 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.005057, allocations: 7.938 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.00528, allocations: 64.48 kB / 0.7328 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.005581, allocations: 130.6 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.00609, allocations: 189.5 kB / 0.7331 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.006328, allocations: 155.5 kB / 0.7332 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.006421, allocations: 26.2 kB / 0.7333 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.006644, allocations: 121.6 kB / 0.7334 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.006762, allocations: 49.14 kB / 0.7334 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.006783, allocations: 11.94 kB / 0.7334 GB, free: 0.582 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.006986, allocations: 83.8 kB / 0.7335 GB, free: 0.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.00706, allocations: 36.42 kB / 0.7336 GB, free: 476 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.007111, allocations: 23.88 kB / 0.7336 GB, free: 452 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.00738, allocations: 156.5 kB / 0.7337 GB, free: 296 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.278e-05/0.007393, allocations: 0 / 0.7337 GB, free: 296 kB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.007394, allocations: 0 / 0.7337 GB, free: 296 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.007407, allocations: 0.9688 kB / 0.7337 GB, free: 296 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000469/0.007875, allocations: 425.1 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.007903, allocations: 8.812 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.00794, allocations: 16.91 kB / 0.7342 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.008112, allocations: 178.7 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.008129, allocations: 4.375 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.008141, allocations: 1.281 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.008298, allocations: 73.75 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.008308, allocations: 4.75 kB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.008316, allocations: 4 kB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.008332, allocations: 1.406 kB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.008366, allocations: 23.86 kB / 0.7344 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.008634, allocations: 193.9 kB / 0.7346 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.008734, allocations: 102.3 kB / 0.7347 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.008758, allocations: 20.89 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.00877, allocations: 3.938 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.827e-05/0.008868, allocations: 71.8 kB / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.00887, allocations: 0 / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001336/0.009003, allocations: 73.66 kB / 0.7349 GB, free: 15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.009025, allocations: 55.34 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.009163, allocations: 220.8 kB / 0.7351 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.009181, allocations: 29.64 kB / 0.7352 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.009223, allocations: 105.9 kB / 0.7353 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.009243, allocations: 19.84 kB / 0.7353 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.009274, allocations: 25.7 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.009347, allocations: 332.2 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.009363, allocations: 10.83 kB / 0.7356 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.009396, allocations: 56.27 kB / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.009445, allocations: 51.83 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.009447, allocations: 1.344 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.332e-05/0.00952, allocations: 68.44 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009534, allocations: 8 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.00954, allocations: 0.6562 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.009554, allocations: 1.344 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.00963, allocations: 19.92 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.009635, allocations: 400 / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.009672, allocations: 11.94 kB / 0.7359 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.009677, allocations: 1.25 kB / 0.7359 GB, free: 13.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/0.009752, allocations: 117.6 kB / 0.736 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.00977, allocations: 21.16 kB / 0.736 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.896e-05/0.009869, allocations: 83.05 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.009876, allocations: 0 / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009878, allocations: 0.75 kB / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009881, allocations: 0 / 0.7361 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.151e-05/0.009972, allocations: 110.3 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009973, allocations: 0 / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.01, allocations: 8.875 kB / 0.7362 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.01001, allocations: 19.8 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.01002, allocations: 1.062 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.01002, allocations: 7.984 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.01002, allocations: 0 / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01002, allocations: 1.219 kB / 0.7362 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.488e-05/0.01011, allocations: 98.69 kB / 0.7363 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.01013, allocations: 11.88 kB / 0.7363 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.01015, allocations: 8.641 kB / 0.7363 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.01019, allocations: 12.73 kB / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.0102, allocations: 0 / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.728e-05/0.01026, allocations: 77.77 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01026, allocations: 0 / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000134/0.01039, allocations: 31.94 kB / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001229/0.01162, allocations: 0.5708 MB / 0.737 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.509e-05/0.01172, allocations: 37.44 kB / 0.737 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.01172, allocations: 5.062 kB / 0.737 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.01176, allocations: 40.7 kB / 0.7371 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01196, allocations: 223.4 kB / 0.7373 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.0124, allocations: 269.2 kB / 0.7376 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.01244, allocations: 83.66 kB / 0.7376 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.01248, allocations: 25.06 kB / 0.7377 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.01256, allocations: 83.3 kB / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.01256, allocations: 0 / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.004421/0.01698, allocations: 2.898 MB / 0.7406 GB, free: 9.422 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.91599016264081]