Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.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.0009673/0.0009673, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001019/0.001019, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.8906/0.8906, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 32.8 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.182e-05, allocations: 2.312 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002721/0.002732, allocations: 2.299 MB / 378.3 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.004529, allocations: 1.671 MB / 380 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.004625, allocations: 3.938 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.004921, allocations: 147.2 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.005303, allocations: 298.5 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.005937, allocations: 0.5377 MB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.006335, allocations: 0.5919 MB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.00644, allocations: 41.25 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.006683, allocations: 311.2 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006864, allocations: 207.4 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.006897, allocations: 28 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.007119, allocations: 191.6 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.007227, allocations: 135.5 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.007316, allocations: 111.6 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.007708, allocations: 466.3 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00771, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007711, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.007715, allocations: 0 / 383 MB, free: 13.66 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007722/0.008488, allocations: 0.9574 MB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.008518, allocations: 8.031 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.008602, allocations: 60.61 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.008951, allocations: 395.2 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.008975, allocations: 12.61 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.008993, allocations: 12.38 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.009244, allocations: 201.7 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.009253, allocations: 7.875 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.009269, allocations: 12 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.009279, allocations: 4 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.009386, allocations: 63.88 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.0103, allocations: 0.9336 MB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.01057, allocations: 224.6 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.01066, allocations: 82.66 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.01067, allocations: 4 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.01087, allocations: 202.5 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.01087, allocations: 0 / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004201/0.01129, allocations: 318 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.01133, allocations: 132.5 kB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.01174, allocations: 0.5612 MB / 387.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01176, allocations: 37.69 kB / 387.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01189, allocations: 283.3 kB / 387.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.01195, allocations: 71.61 kB / 387.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.01201, allocations: 67.34 kB / 387.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.01216, allocations: 0.5469 MB / 388.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.01222, allocations: 43.95 kB / 388.2 MB, free: 8.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.01238, allocations: 267 kB / 388.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.01255, allocations: 169.4 kB / 388.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01256, allocations: 0 / 388.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002754/0.01283, allocations: 257.4 kB / 388.9 MB, free: 7.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01284, allocations: 11.94 kB / 388.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01285, allocations: 0 / 388.9 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01287, allocations: 4 kB / 388.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.01302, allocations: 51.91 kB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01303, allocations: 4 kB / 388.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.826e-05/0.01311, allocations: 27.83 kB / 389 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01313, allocations: 19.94 kB / 389 MB, free: 7.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * 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 0.0001056/0.01323, allocations: 192.4 kB / 389.2 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.01329, allocations: 63.61 kB / 389.2 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.01362, allocations: 294 kB / 389.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01362, allocations: 4 kB / 389.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01363, allocations: 4 kB / 389.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01363, allocations: 0 / 389.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01386, allocations: 328.3 kB / 389.9 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01387, allocations: 4 kB / 389.9 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.01394, allocations: 31.92 kB / 389.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01394, allocations: 4 kB / 389.9 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01396, allocations: 12.17 kB / 389.9 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01396, allocations: 8 kB / 389.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01396, allocations: 80 / 389.9 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.01427, allocations: 350.9 kB / 390.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.01432, allocations: 55.66 kB / 390.3 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.01436, allocations: 8 kB / 390.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.01442, allocations: 11.98 kB / 390.3 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.01449, allocations: 39.95 kB / 390.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.01451, allocations: 23.92 kB / 390.4 MB, free: 5.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.01477, allocations: 378.8 kB / 390.8 MB, free: 5.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01477, allocations: 4 kB / 390.8 MB, free: 5.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.01501, allocations: 95.86 kB / 390.9 MB, free: 5.258 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008667/0.01588, allocations: 442.1 kB / 391.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.01612, allocations: 151.5 kB / 391.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01613, allocations: 0 / 391.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.01624, allocations: 103.5 kB / 391.5 MB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.01661, allocations: 173.3 kB / 391.7 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009905/0.01761, allocations: 0.7106 MB / 392.4 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.481e-05/0.01768, allocations: 133.5 kB / 392.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.0178, allocations: 79.28 kB / 392.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.01789, allocations: 56.48 kB / 392.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01789, allocations: 0 / 392.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of Templates: time 0.009613/0.0275, allocations: 8.292 MB / 401 MB, free: 11.29 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.014647969044745]