Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001288/0.001288, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001417/0.001417, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 46.97 MB / 361.6 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.279, allocations: 66.03 MB / 0.5618 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003713/0.2827, allocations: 2.207 MB / 0.564 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.2854, allocations: 1.627 MB / 0.5655 GB, free: 384 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.2856, allocations: 7.875 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.286, allocations: 143.2 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.2865, allocations: 298.8 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2878, allocations: 0.5325 MB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006377/0.2884, allocations: 0.5804 MB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2885, allocations: 56.03 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.2888, allocations: 239 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.2891, allocations: 239 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.2892, allocations: 28 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.2895, allocations: 203.8 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2897, allocations: 135.5 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.2899, allocations: 151 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.2905, allocations: 0.6028 MB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2905, allocations: 4 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2905, allocations: 0 / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.2905, allocations: 0 / 0.5687 GB, free: 13.19 MB / 414.1 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.001315/0.2919, allocations: 0.8535 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2919, allocations: 8.031 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.292, allocations: 64.55 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007002/0.2927, allocations: 413.1 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.2928, allocations: 16.61 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.2928, allocations: 20.11 kB / 0.57 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.2933, allocations: 344.5 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2933, allocations: 4 kB / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.2934, allocations: 0 / 0.5703 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2934, allocations: 4 kB / 0.5703 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.2937, allocations: 123.8 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2948, allocations: 0.7896 MB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.2955, allocations: 294.5 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.2957, allocations: 103.4 kB / 0.5716 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2958, allocations: 3.984 kB / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004552/0.2962, allocations: 220.2 kB / 0.5718 GB, free: 9.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.2962, allocations: 8 kB / 0.5718 GB, free: 9.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001036/0.2973, allocations: 433.8 kB / 0.5722 GB, free: 9.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.2974, allocations: 235.3 kB / 0.5725 GB, free: 8.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.2982, allocations: 0.6824 MB / 0.5731 GB, free: 8.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.2983, allocations: 37.69 kB / 0.5732 GB, free: 8.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2985, allocations: 232.5 kB / 0.5734 GB, free: 8.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.2985, allocations: 71.61 kB / 0.5734 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2986, allocations: 65.69 kB / 0.5735 GB, free: 7.879 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.2988, allocations: 366.8 kB / 0.5739 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2991, allocations: 91.94 kB / 0.5739 GB, free: 7.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.2995, allocations: 428.3 kB / 0.5744 GB, free: 6.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.3, allocations: 238.7 kB / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3, allocations: 0 / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006805/0.3007, allocations: 333.3 kB / 0.5749 GB, free: 6.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3007, allocations: 8 kB / 0.5749 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3007, allocations: 0 / 0.5749 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3007, allocations: 4 kB / 0.5749 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.301, allocations: 55.91 kB / 0.575 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.301, allocations: 11.88 kB / 0.575 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3012, allocations: 28 kB / 0.575 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3013, allocations: 19.98 kB / 0.575 GB, free: 6.191 MB / 414.1 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.0002417/0.3015, allocations: 217.8 kB / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.3016, allocations: 59.61 kB / 0.5753 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008378/0.3024, allocations: 369.7 kB / 0.5756 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.3025, allocations: 7.922 kB / 0.5756 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3025, allocations: 4 kB / 0.5757 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3026, allocations: 67.53 kB / 0.5757 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.3026, allocations: 11.98 kB / 0.5757 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3028, allocations: 15.98 kB / 0.5757 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3029, allocations: 39.94 kB / 0.5758 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00092/0.3039, allocations: 0.6355 MB / 0.5764 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009055/0.3048, allocations: 0.7539 MB / 0.5771 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003587/0.3051, allocations: 171.8 kB / 0.5773 GB, free: 3.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000579/0.3057, allocations: 0.491 MB / 0.5778 GB, free: 3.316 MB / 414.1 MB Notification: Performance of Backend: time 3.21e-07/0.3057, allocations: 0 / 0.5778 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.3083, allocations: 0.6161 MB / 0.5784 GB, free: 2.879 MB / 414.1 MB Notification: Performance of SimCode: time 0.001692/0.31, allocations: 1.306 MB / 0.5797 GB, free: 1.539 MB / 414.1 MB Notification: Performance of Templates: time 0.01733/0.3273, allocations: 9.158 MB / 0.5886 GB, free: 8.492 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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: 4.932239728004788]