Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 122.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.254/0.254, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 79.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3666, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003551/0.3702, allocations: 2.33 MB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.373, allocations: 1.685 MB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3732, allocations: 4.125 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.3736, allocations: 147.3 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005897/0.3742, allocations: 280.5 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3755, allocations: 0.5349 MB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000605/0.3761, allocations: 0.5678 MB / 0.5364 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.3763, allocations: 78.08 kB / 0.5365 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.3766, allocations: 232.2 kB / 0.5367 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.3769, allocations: 221.2 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.3769, allocations: 34.17 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.3773, allocations: 172.3 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.3775, allocations: 133 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.3777, allocations: 211.4 kB / 0.5374 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007054/0.3784, allocations: 0.6055 MB / 0.538 GB, free: 8.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3784, allocations: 3.938 kB / 0.538 GB, free: 8.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3784, allocations: 0 / 0.538 GB, free: 8.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3784, allocations: 1 kB / 0.538 GB, free: 8.363 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.00137/0.3798, allocations: 0.9023 MB / 0.5389 GB, free: 7.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3799, allocations: 10.03 kB / 0.5389 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.38, allocations: 55.06 kB / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.3807, allocations: 490.5 kB / 0.5394 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.3807, allocations: 16.27 kB / 0.5394 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3808, allocations: 21.33 kB / 0.5395 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.3813, allocations: 264.6 kB / 0.5397 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3814, allocations: 5.531 kB / 0.5397 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.3814, allocations: 1.625 kB / 0.5397 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3814, allocations: 3.906 kB / 0.5397 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.3817, allocations: 105.4 kB / 0.5398 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3829, allocations: 0.8875 MB / 0.5407 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.3837, allocations: 292.5 kB / 0.541 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.3839, allocations: 111 kB / 0.5411 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.3839, allocations: 7.234 kB / 0.5411 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.3844, allocations: 222.4 kB / 0.5413 GB, free: 5.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.704e-06/0.3844, allocations: 0 / 0.5413 GB, free: 5.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001006/0.3854, allocations: 404.9 kB / 0.5417 GB, free: 5.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003417/0.3858, allocations: 350.8 kB / 0.542 GB, free: 4.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.3867, allocations: 0.6662 MB / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3867, allocations: 33.45 kB / 0.5427 GB, free: 4.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.387, allocations: 236.9 kB / 0.5429 GB, free: 4.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.3871, allocations: 64.95 kB / 0.543 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3872, allocations: 64.78 kB / 0.543 GB, free: 4.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3874, allocations: 366 kB / 0.5434 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.3876, allocations: 85.59 kB / 0.5435 GB, free: 3.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3879, allocations: 239.5 kB / 0.5437 GB, free: 3.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.3884, allocations: 232.9 kB / 0.5439 GB, free: 3.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3884, allocations: 0 / 0.5439 GB, free: 3.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006521/0.3891, allocations: 322.9 kB / 0.5442 GB, free: 3.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3891, allocations: 5.531 kB / 0.5442 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3891, allocations: 2.156 kB / 0.5442 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3892, allocations: 6.281 kB / 0.5443 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.3895, allocations: 53.59 kB / 0.5443 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3895, allocations: 3.375 kB / 0.5443 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.3897, allocations: 35.73 kB / 0.5443 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.3898, allocations: 13.33 kB / 0.5444 GB, free: 3.207 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.0003045/0.3901, allocations: 217.4 kB / 0.5446 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.3902, allocations: 57.48 kB / 0.5446 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.3904, allocations: 64.75 kB / 0.5447 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3904, allocations: 7.312 kB / 0.5447 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.3904, allocations: 4.875 kB / 0.5447 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3904, allocations: 1.094 kB / 0.5447 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.391, allocations: 422.8 kB / 0.5451 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.391, allocations: 0 / 0.5451 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3911, allocations: 30.66 kB / 0.5451 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3912, allocations: 2.875 kB / 0.5451 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3912, allocations: 11.78 kB / 0.5451 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-05/0.3912, allocations: 9.578 kB / 0.5451 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3912, allocations: 1.125 kB / 0.5451 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.392, allocations: 362.4 kB / 0.5455 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3922, allocations: 132.5 kB / 0.5456 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.3922, allocations: 16 kB / 0.5456 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.3924, allocations: 15.92 kB / 0.5456 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3926, allocations: 39.95 kB / 0.5457 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.3926, allocations: 19.98 kB / 0.5457 GB, free: 2.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005836/0.3932, allocations: 486.8 kB / 0.5462 GB, free: 1.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3932, allocations: 0 / 0.5462 GB, free: 1.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005267/0.3937, allocations: 103.9 kB / 0.5463 GB, free: 1.469 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.001269/0.395, allocations: 458 kB / 0.5467 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.3956, allocations: 231.6 kB / 0.5469 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3956, allocations: 0 / 0.5469 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.396, allocations: 172 kB / 0.5471 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006847/0.3966, allocations: 161.5 kB / 0.5472 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.3979, allocations: 0.7933 MB / 0.548 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.3985, allocations: 0.8506 MB / 0.5488 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.3987, allocations: 87.23 kB / 0.5489 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3989, allocations: 55.41 kB / 0.549 GB, free: 14.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3989, allocations: 4 kB / 0.549 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Templates: time 0.01484/0.4137, allocations: 7.674 MB / 0.5565 GB, free: 7.117 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches