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.001246/0.001246, allocations: 108.7 kB / 18.45 MB, free: 4.621 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.001255/0.001255, allocations: 183.1 kB / 19.38 MB, free: 3.699 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.292/1.292, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.193/0.193, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3302, allocations: 60.81 MB / 0.5195 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003313/0.3336, allocations: 2.28 MB / 0.5218 GB, free: 2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3358, allocations: 1.556 MB / 0.5233 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.336, allocations: 7.625 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.3364, allocations: 135 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.3369, allocations: 229.7 kB / 0.5236 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3385, allocations: 0.6558 MB / 0.5243 GB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005591/0.339, allocations: 0.5367 MB / 0.5248 GB, free: 176 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3392, allocations: 68.14 kB / 0.5249 GB, free: 144 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3395, allocations: 231.6 kB / 0.5251 GB, free: 36 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.3397, allocations: 217.4 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.3398, allocations: 29.06 kB / 0.5253 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.3402, allocations: 167.9 kB / 0.5255 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.3404, allocations: 130 kB / 0.5256 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3406, allocations: 199.7 kB / 0.5258 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006972/0.3413, allocations: 0.5752 MB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3413, allocations: 0.75 kB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3413, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3413, 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.001189/0.3425, allocations: 0.886 MB / 0.5272 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3425, allocations: 9.625 kB / 0.5272 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3427, allocations: 53.03 kB / 0.5273 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.3434, allocations: 466.2 kB / 0.5277 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.3434, allocations: 12.42 kB / 0.5277 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.3434, allocations: 16.91 kB / 0.5278 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.3439, allocations: 261.2 kB / 0.528 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3439, allocations: 1.438 kB / 0.528 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.344, allocations: 6.188 kB / 0.528 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.344, allocations: 4.062 kB / 0.528 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.3443, allocations: 117.3 kB / 0.5281 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3454, allocations: 0.868 MB / 0.529 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.346, allocations: 304.7 kB / 0.5293 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.3463, allocations: 102.7 kB / 0.5294 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.3463, allocations: 12.05 kB / 0.5294 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/0.3467, allocations: 222.4 kB / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.757e-06/0.3467, allocations: 0 / 0.5296 GB, free: 12.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001041/0.3478, allocations: 402.8 kB / 0.53 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/0.348, allocations: 354.5 kB / 0.5303 GB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.3488, allocations: 0.6243 MB / 0.5309 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.3489, allocations: 33.83 kB / 0.531 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3491, allocations: 227 kB / 0.5312 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.3492, allocations: 67.53 kB / 0.5312 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3493, allocations: 63.31 kB / 0.5313 GB, free: 11.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3495, allocations: 360.8 kB / 0.5316 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.3497, allocations: 82.8 kB / 0.5317 GB, free: 11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.3501, allocations: 252.4 kB / 0.532 GB, free: 10.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.3506, allocations: 229.9 kB / 0.5322 GB, free: 10.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.3506, allocations: 5.125 kB / 0.5322 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007366/0.3514, allocations: 316.1 kB / 0.5325 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.3514, allocations: 6.406 kB / 0.5325 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3514, allocations: 1.031 kB / 0.5325 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.3515, allocations: 11.41 kB / 0.5325 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.3517, allocations: 52.66 kB / 0.5326 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3518, allocations: 3.625 kB / 0.5326 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.352, allocations: 31.77 kB / 0.5326 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.352, allocations: 13.88 kB / 0.5326 GB, free: 10.39 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.0002774/0.3523, allocations: 223.7 kB / 0.5328 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3524, allocations: 56.91 kB / 0.5329 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.3526, allocations: 54.78 kB / 0.5329 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3526, allocations: 7.094 kB / 0.5329 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3526, allocations: 1.094 kB / 0.5329 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.3526, allocations: 5.109 kB / 0.5329 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3531, allocations: 402 kB / 0.5333 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3531, allocations: 1.406 kB / 0.5333 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3532, allocations: 26.52 kB / 0.5333 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3533, allocations: 1.375 kB / 0.5333 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3533, allocations: 13.48 kB / 0.5334 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3533, allocations: 5.125 kB / 0.5334 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3533, allocations: 1.469 kB / 0.5334 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.354, allocations: 361.2 kB / 0.5337 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.3541, allocations: 129.5 kB / 0.5338 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.3542, allocations: 17.64 kB / 0.5339 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3544, allocations: 16.42 kB / 0.5339 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.3545, allocations: 34.38 kB / 0.5339 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.3545, allocations: 22.77 kB / 0.5339 GB, free: 9.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004904/0.355, allocations: 457.9 kB / 0.5344 GB, free: 9.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.355, allocations: 1.438 kB / 0.5344 GB, free: 9.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.3555, allocations: 105.1 kB / 0.5345 GB, free: 9.102 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.001076/0.3566, allocations: 461.4 kB / 0.5349 GB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.3572, allocations: 229.9 kB / 0.5351 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3572, allocations: 1.094 kB / 0.5351 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.3575, allocations: 124 kB / 0.5352 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/0.3582, allocations: 150.3 kB / 0.5354 GB, free: 8.648 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3594, allocations: 0.8016 MB / 0.5362 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3598, allocations: 0.8446 MB / 0.537 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3599, allocations: 49.27 kB / 0.537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3599, allocations: 0 / 0.537 GB, free: 7.332 MB / 398.1 MB Notification: Performance of Templates: time 0.01078/0.3707, allocations: 7.085 MB / 0.544 GB, free: 2.609 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