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.001086/0.001086, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.00104/0.00104, allocations: 187.2 kB / 19.39 MB, free: 3.711 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.422/1.422, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3289, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003606/0.3326, allocations: 2.278 MB / 0.5218 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.3351, allocations: 1.559 MB / 0.5233 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.3353, allocations: 7.469 kB / 0.5233 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.3358, allocations: 140.1 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004589/0.3363, allocations: 218 kB / 0.5237 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.3379, allocations: 0.6588 MB / 0.5243 GB, free: 436 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.3384, allocations: 0.5363 MB / 0.5248 GB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3386, allocations: 67.41 kB / 0.5249 GB, free: 140 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.3389, allocations: 235.7 kB / 0.5251 GB, free: 28 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.3392, allocations: 216.6 kB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.3393, allocations: 26.44 kB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.3396, allocations: 170.7 kB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3398, allocations: 124.5 kB / 0.5256 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.34, allocations: 201.7 kB / 0.5258 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.3407, allocations: 0.5745 MB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3407, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3407, allocations: 0 / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.3408, allocations: 4 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.00131/0.3421, allocations: 0.9043 MB / 0.5273 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3421, allocations: 9.281 kB / 0.5273 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3422, allocations: 57.81 kB / 0.5273 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.343, allocations: 467.1 kB / 0.5278 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.343, allocations: 11.58 kB / 0.5278 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.343, allocations: 21.91 kB / 0.5278 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.3435, allocations: 261.1 kB / 0.5281 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3435, allocations: 1.844 kB / 0.5281 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3436, allocations: 5.359 kB / 0.5281 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3436, allocations: 2.875 kB / 0.5281 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3439, allocations: 110.7 kB / 0.5282 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3449, allocations: 0.8788 MB / 0.529 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.3456, allocations: 297.3 kB / 0.5293 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.3458, allocations: 102.7 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3459, allocations: 12.11 kB / 0.5294 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.3463, allocations: 211.4 kB / 0.5296 GB, free: 12.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/0.3463, allocations: 3.938 kB / 0.5296 GB, free: 12.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009445/0.3472, allocations: 409.8 kB / 0.53 GB, free: 12.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.3474, allocations: 342.3 kB / 0.5304 GB, free: 12.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007159/0.3481, allocations: 0.6324 MB / 0.531 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3482, allocations: 37.73 kB / 0.531 GB, free: 11.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3483, allocations: 224.2 kB / 0.5312 GB, free: 11.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.3484, allocations: 69.58 kB / 0.5313 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3485, allocations: 64.44 kB / 0.5313 GB, free: 11.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3487, allocations: 369.4 kB / 0.5317 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3489, allocations: 85.3 kB / 0.5318 GB, free: 10.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3492, allocations: 239.2 kB / 0.532 GB, free: 10.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.3497, allocations: 234.4 kB / 0.5322 GB, free: 10.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3497, allocations: 0 / 0.5322 GB, free: 10.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006349/0.3504, allocations: 321.6 kB / 0.5325 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3504, allocations: 5.125 kB / 0.5325 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3504, allocations: 7 kB / 0.5325 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3504, allocations: 6.562 kB / 0.5326 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.3507, allocations: 60.84 kB / 0.5326 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3507, allocations: 3.594 kB / 0.5326 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3509, allocations: 28.34 kB / 0.5326 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3509, allocations: 12.39 kB / 0.5327 GB, free: 10.34 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.0002364/0.3512, allocations: 216 kB / 0.5329 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.3513, allocations: 57.41 kB / 0.5329 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.757e-05/0.3514, allocations: 61.34 kB / 0.533 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3514, allocations: 5.188 kB / 0.533 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3514, allocations: 1.75 kB / 0.533 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.3515, allocations: 135.2 kB / 0.5331 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.3516, allocations: 13.69 kB / 0.5331 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3518, allocations: 15.23 kB / 0.5331 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/0.3519, allocations: 37.55 kB / 0.5332 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000764/0.3526, allocations: 0.598 MB / 0.5338 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007798/0.3534, allocations: 0.7215 MB / 0.5345 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003115/0.3537, allocations: 167 kB / 0.5346 GB, free: 8.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005115/0.3543, allocations: 465.6 kB / 0.5351 GB, free: 8.547 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3543, allocations: 0 / 0.5351 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.3563, allocations: 0.6007 MB / 0.5357 GB, free: 8.277 MB / 398.1 MB Notification: Performance of SimCode: time 0.001616/0.3579, allocations: 1.267 MB / 0.5369 GB, free: 7.301 MB / 398.1 MB Notification: Performance of Templates: time 0.01436/0.3723, allocations: 8.495 MB / 0.5452 GB, free: 1.477 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