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.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 109.3 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 179 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.178/0.178, allocations: 44.17 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2793, allocations: 60.82 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002973/0.2823, allocations: 2.287 MB / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2844, allocations: 1.56 MB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2845, allocations: 2.531 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.2849, allocations: 144.1 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.2853, allocations: 213.8 kB / 0.5236 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2867, allocations: 0.6576 MB / 0.5243 GB, free: 432 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004879/0.2872, allocations: 0.5312 MB / 0.5248 GB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2873, allocations: 75.66 kB / 0.5249 GB, free: 132 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.2876, allocations: 222.7 kB / 0.5251 GB, free: 32 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.2879, allocations: 218.1 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.2879, allocations: 25.75 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.2883, allocations: 175.7 kB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2884, allocations: 124.5 kB / 0.5256 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.2886, allocations: 201.2 kB / 0.5258 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.2892, allocations: 0.5759 MB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2892, allocations: 4 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2892, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.2892, allocations: 1.375 kB / 0.5264 GB, free: 15.46 MB / 398.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.001104/0.2903, allocations: 0.8836 MB / 0.5272 GB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2904, allocations: 8.25 kB / 0.5272 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.2905, allocations: 54.41 kB / 0.5273 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.2911, allocations: 465.8 kB / 0.5277 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.2911, allocations: 12.58 kB / 0.5277 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.2911, allocations: 21.17 kB / 0.5278 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.2916, allocations: 261.9 kB / 0.528 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2916, allocations: 0 / 0.528 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.2916, allocations: 3 kB / 0.528 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2916, allocations: 2.781 kB / 0.528 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.2919, allocations: 110.3 kB / 0.5281 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009565/0.2929, allocations: 0.8749 MB / 0.529 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/0.2935, allocations: 296.4 kB / 0.5293 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.2938, allocations: 111.5 kB / 0.5294 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.2938, allocations: 4.469 kB / 0.5294 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.2942, allocations: 215 kB / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.2942, allocations: 4 kB / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000908/0.2951, allocations: 410 kB / 0.53 GB, free: 12.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.2953, allocations: 339.7 kB / 0.5303 GB, free: 12.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.296, allocations: 0.6277 MB / 0.5309 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.296, allocations: 38.2 kB / 0.531 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.2962, allocations: 222.7 kB / 0.5312 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.2963, allocations: 74.02 kB / 0.5312 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.2964, allocations: 60.31 kB / 0.5313 GB, free: 11.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2965, allocations: 369.8 kB / 0.5316 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2967, allocations: 81.67 kB / 0.5317 GB, free: 10.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.297, allocations: 242.3 kB / 0.532 GB, free: 10.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.2974, allocations: 234.7 kB / 0.5322 GB, free: 10.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2975, allocations: 0 / 0.5322 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006001/0.2981, allocations: 320.5 kB / 0.5325 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2981, allocations: 8.219 kB / 0.5325 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2981, allocations: 2.375 kB / 0.5325 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2981, allocations: 7.656 kB / 0.5325 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2984, allocations: 56.23 kB / 0.5326 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2984, allocations: 7.734 kB / 0.5326 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.2986, allocations: 35.44 kB / 0.5326 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.2986, allocations: 9.531 kB / 0.5326 GB, free: 10.38 MB / 398.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.0002315/0.2989, allocations: 224.2 kB / 0.5328 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.299, allocations: 55.78 kB / 0.5329 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.406e-05/0.2991, allocations: 55 kB / 0.5329 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2991, allocations: 7.469 kB / 0.5329 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2991, allocations: 1.438 kB / 0.5329 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2991, allocations: 1.188 kB / 0.5329 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.2995, allocations: 405.5 kB / 0.5333 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2995, allocations: 1.094 kB / 0.5333 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.2996, allocations: 26.66 kB / 0.5333 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2996, allocations: 2.844 kB / 0.5333 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2996, allocations: 16.06 kB / 0.5334 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2997, allocations: 10.55 kB / 0.5334 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2997, allocations: 0 / 0.5334 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.3003, allocations: 354.6 kB / 0.5337 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.3004, allocations: 134.3 kB / 0.5338 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.3004, allocations: 9.656 kB / 0.5338 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3006, allocations: 20.05 kB / 0.5339 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.3007, allocations: 42.14 kB / 0.5339 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.3008, allocations: 14.08 kB / 0.5339 GB, free: 9.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000449/0.3012, allocations: 463.1 kB / 0.5344 GB, free: 9.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3012, allocations: 1.219 kB / 0.5344 GB, free: 9.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004266/0.3016, allocations: 101.2 kB / 0.5345 GB, free: 9.09 MB / 398.1 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.0009814/0.3026, allocations: 456.1 kB / 0.5349 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.3032, allocations: 229.7 kB / 0.5351 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3032, allocations: 1.281 kB / 0.5351 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.3035, allocations: 119.3 kB / 0.5352 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.3042, allocations: 162.1 kB / 0.5354 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3054, allocations: 0.8041 MB / 0.5362 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3057, allocations: 0.8366 MB / 0.537 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3058, allocations: 57 kB / 0.537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3059, allocations: 0 / 0.537 GB, free: 7.312 MB / 398.1 MB Notification: Performance of Templates: time 0.009562/0.3154, allocations: 7.084 MB / 0.544 GB, free: 2.559 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches