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.001132/0.001132, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002673, allocations: 449.7 kB / 10.37 MB, free: 328 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.001093/0.001093, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002482, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9243/0.9243, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09766/1.022, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.866/1.866, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4818/2.348, allocations: 123.3 MB / 0.728 GB, free: 5.832 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 2.355e-06/2.355e-06, allocations: 4 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.427e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002313/0.002337, allocations: 1.885 MB / 0.7312 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.003936, allocations: 1.242 MB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.004014, allocations: 2.859 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.004227, allocations: 64.48 kB / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.004458, allocations: 122.9 kB / 0.7326 GB, free: 1.234 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.004852, allocations: 193.2 kB / 0.7328 GB, free: 1.047 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.005043, allocations: 156.3 kB / 0.7329 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005148, allocations: 16 kB / 0.7329 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.005318, allocations: 123.6 kB / 0.733 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.005411, allocations: 51.88 kB / 0.7331 GB, free: 0.707 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.00543, allocations: 8 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.005595, allocations: 83.86 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.005653, allocations: 32.67 kB / 0.7332 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.005692, allocations: 27.88 kB / 0.7332 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.005909, allocations: 155.9 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.504e-05/0.005924, allocations: 1.75 kB / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.372e-06/0.005925, allocations: 0 / 0.7334 GB, free: 416 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.005939, allocations: 0 / 0.7334 GB, free: 416 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.0005344/0.006473, allocations: 425.2 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.006505, allocations: 15.91 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.006544, allocations: 13.52 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.006744, allocations: 179.2 kB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.006762, allocations: 4.375 kB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.006773, allocations: 4.375 kB / 0.734 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.006905, allocations: 74.22 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006912, allocations: 5.062 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.006919, allocations: 3.938 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.006937, allocations: 4 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.006973, allocations: 20.7 kB / 0.7341 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.007239, allocations: 198.4 kB / 0.7343 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.007348, allocations: 97.08 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.00737, allocations: 17.36 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.007383, allocations: 8.812 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.007483, allocations: 66.19 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.007486, allocations: 1.438 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001283/0.007614, allocations: 69.61 kB / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.007643, allocations: 55.41 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.007817, allocations: 220.8 kB / 0.7348 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.007832, allocations: 29.7 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.007872, allocations: 102.2 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.007892, allocations: 19.84 kB / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.007925, allocations: 29.69 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.008003, allocations: 326.8 kB / 0.7353 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.008024, allocations: 11.39 kB / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.008063, allocations: 61.47 kB / 0.7354 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.901e-05/0.008112, allocations: 47.28 kB / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008114, allocations: 0.875 kB / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.408e-05/0.008198, allocations: 76.36 kB / 0.7355 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.008209, allocations: 8.625 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.008215, allocations: 0.6875 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.008223, allocations: 0 / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.008299, allocations: 20.48 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.008302, allocations: 0 / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.008338, allocations: 13.09 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.008345, allocations: 4 kB / 0.7355 GB, free: 14.04 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 6.968e-05/0.008415, allocations: 114.8 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.00843, allocations: 15.92 kB / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.008535, allocations: 80.31 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.008544, allocations: 0 / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.008546, allocations: 4 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008549, allocations: 1.031 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.008653, allocations: 101.8 kB / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.008655, allocations: 0 / 0.7358 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.008691, allocations: 12.55 kB / 0.7358 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.008708, allocations: 21.55 kB / 0.7359 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008711, allocations: 4 kB / 0.7359 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.008716, allocations: 0 / 0.7359 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.008719, allocations: 4.469 kB / 0.7359 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.008721, allocations: 3.984 kB / 0.7359 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.667e-05/0.008808, allocations: 99.92 kB / 0.736 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.008825, allocations: 3.938 kB / 0.736 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.00885, allocations: 0 / 0.736 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.008888, allocations: 16.72 kB / 0.736 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.008897, allocations: 7.984 kB / 0.736 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.008953, allocations: 73.64 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008953, allocations: 0 / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001447/0.009098, allocations: 32.69 kB / 0.7361 GB, free: 13.4 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.001302/0.0104, allocations: 0.5784 MB / 0.7367 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01051, allocations: 45.58 kB / 0.7367 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/0.01051, allocations: 6.312 kB / 0.7367 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.01055, allocations: 28.78 kB / 0.7367 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.01071, allocations: 46.58 kB / 0.7368 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.0112, allocations: 273.5 kB / 0.737 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01125, allocations: 86.11 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.01129, allocations: 17.78 kB / 0.7371 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.01137, allocations: 79.36 kB / 0.7372 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/0.01137, allocations: 0 / 0.7372 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of Templates: time 0.004814/0.01619, allocations: 2.882 MB / 0.74 GB, free: 9.777 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.970475950278342]