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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 102 kB / 291.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3733/0.3733, allocations: 44.12 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3721, allocations: 60.8 MB / 0.5064 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003569/0.3757, allocations: 2.315 MB / 0.5086 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3778, allocations: 1.548 MB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3779, allocations: 3.031 kB / 0.5102 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3783, allocations: 130.8 kB / 0.5103 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3787, allocations: 212.1 kB / 0.5105 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3799, allocations: 0.6016 MB / 0.5111 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.3804, allocations: 0.4916 MB / 0.5116 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3806, allocations: 74.56 kB / 0.5116 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.3808, allocations: 206.1 kB / 0.5118 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.381, allocations: 206.5 kB / 0.512 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.381, allocations: 11.69 kB / 0.512 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.3813, allocations: 119.4 kB / 0.5121 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3814, allocations: 126.7 kB / 0.5123 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.3816, allocations: 180.7 kB / 0.5124 GB, free: 34.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.3822, allocations: 0.5531 MB / 0.513 GB, free: 34.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3822, allocations: 0 / 0.513 GB, free: 34.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3822, allocations: 0 / 0.513 GB, free: 34.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3822, allocations: 0 / 0.513 GB, free: 34.25 MB / 378.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.001286/0.3835, allocations: 0.8819 MB / 0.5138 GB, free: 33.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.3835, allocations: 9.469 kB / 0.5138 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3837, allocations: 57.5 kB / 0.5139 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.3843, allocations: 462.9 kB / 0.5143 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.3843, allocations: 10.08 kB / 0.5144 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3844, allocations: 16.66 kB / 0.5144 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.3848, allocations: 272.8 kB / 0.5146 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3848, allocations: 2.469 kB / 0.5146 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.3849, allocations: 7.25 kB / 0.5146 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3849, allocations: 2.406 kB / 0.5146 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.3853, allocations: 110.5 kB / 0.5147 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000952/0.3862, allocations: 0.8751 MB / 0.5156 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.3868, allocations: 297.4 kB / 0.5159 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.387, allocations: 111.6 kB / 0.516 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3871, allocations: 7.547 kB / 0.516 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.3875, allocations: 218 kB / 0.5162 GB, free: 31.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.714e-06/0.3875, allocations: 1.25 kB / 0.5162 GB, free: 31.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009468/0.3885, allocations: 398.6 kB / 0.5166 GB, free: 31.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.3886, allocations: 345.8 kB / 0.5169 GB, free: 31.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.3893, allocations: 0.6321 MB / 0.5175 GB, free: 31.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3893, allocations: 36.45 kB / 0.5176 GB, free: 30.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3894, allocations: 226.2 kB / 0.5178 GB, free: 30.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.3895, allocations: 60.78 kB / 0.5178 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.3896, allocations: 57.75 kB / 0.5179 GB, free: 30.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.3897, allocations: 372.6 kB / 0.5183 GB, free: 30.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.3899, allocations: 85.42 kB / 0.5183 GB, free: 30.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3902, allocations: 255 kB / 0.5186 GB, free: 30.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.3905, allocations: 227.8 kB / 0.5188 GB, free: 30 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3906, allocations: 7 kB / 0.5188 GB, free: 30 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005564/0.3911, allocations: 308 kB / 0.5191 GB, free: 29.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3911, allocations: 5.25 kB / 0.5191 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3912, allocations: 3.562 kB / 0.5191 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3912, allocations: 6.688 kB / 0.5191 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.3914, allocations: 60.19 kB / 0.5192 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3915, allocations: 3.625 kB / 0.5192 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3916, allocations: 34.67 kB / 0.5192 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3917, allocations: 9.922 kB / 0.5192 GB, free: 29.83 MB / 378.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.0002094/0.3919, allocations: 222.3 kB / 0.5194 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.392, allocations: 51.67 kB / 0.5195 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.3921, allocations: 53.41 kB / 0.5195 GB, free: 29.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3921, allocations: 6.531 kB / 0.5195 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3921, allocations: 2.656 kB / 0.5195 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3921, allocations: 5.25 kB / 0.5195 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.3925, allocations: 410.4 kB / 0.5199 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3925, allocations: 0 / 0.5199 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3926, allocations: 25.42 kB / 0.52 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3926, allocations: 6.859 kB / 0.52 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3927, allocations: 9.969 kB / 0.52 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3927, allocations: 6.562 kB / 0.52 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3927, allocations: 0 / 0.52 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.3937, allocations: 1.11 MB / 0.5211 GB, free: 28.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/0.3938, allocations: 131.8 kB / 0.5212 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.3938, allocations: 6.906 kB / 0.5212 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.394, allocations: 19.14 kB / 0.5212 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.3941, allocations: 35.38 kB / 0.5212 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.3941, allocations: 14.59 kB / 0.5213 GB, free: 28.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004079/0.3945, allocations: 463.9 kB / 0.5217 GB, free: 28.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3945, allocations: 0 / 0.5217 GB, free: 28.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000499/0.3951, allocations: 102.8 kB / 0.5218 GB, free: 28.1 MB / 378.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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.001001/0.3961, allocations: 456.8 kB / 0.5222 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.3966, allocations: 233.7 kB / 0.5225 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3966, allocations: 2.656 kB / 0.5225 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.3969, allocations: 164.6 kB / 0.5226 GB, free: 27.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.3976, allocations: 147 kB / 0.5228 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3987, allocations: 1.072 MB / 0.5238 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.399, allocations: 0.8422 MB / 0.5246 GB, free: 26.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.3992, allocations: 83.64 kB / 0.5247 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3993, allocations: 49.14 kB / 0.5248 GB, free: 26.28 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3993, allocations: 0 / 0.5248 GB, free: 26.28 MB / 378.7 MB Notification: Performance of Templates: time 0.01187/0.4112, allocations: 7.39 MB / 0.532 GB, free: 25.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches