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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.13 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003787/0.337, allocations: 2.322 MB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.3399, allocations: 1.703 MB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3401, allocations: 8.062 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.3405, allocations: 143.4 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.3411, allocations: 277 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.3423, allocations: 0.5292 MB / 0.5355 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006881/0.343, allocations: 0.5645 MB / 0.536 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.3432, allocations: 81.7 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.3435, allocations: 231.5 kB / 0.5363 GB, free: 8.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3438, allocations: 224.7 kB / 0.5365 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.3438, allocations: 26.06 kB / 0.5366 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.3442, allocations: 181 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3443, allocations: 128.7 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.3446, allocations: 215.6 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.3453, allocations: 0.6024 MB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3453, allocations: 0 / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3453, allocations: 5.25 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3453, allocations: 0 / 0.5377 GB, free: 8.105 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.001346/0.3467, allocations: 0.9252 MB / 0.5386 GB, free: 7.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3467, allocations: 9.906 kB / 0.5386 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.3468, allocations: 48.23 kB / 0.5386 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3469, allocations: 58.72 kB / 0.5387 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.3476, allocations: 487.7 kB / 0.5391 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3477, allocations: 16.58 kB / 0.5391 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.3477, allocations: 16.36 kB / 0.5392 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.3482, allocations: 266 kB / 0.5394 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3482, allocations: 0 / 0.5394 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.3483, allocations: 7.156 kB / 0.5394 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3483, allocations: 2.875 kB / 0.5394 GB, free: 6.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.3486, allocations: 114.2 kB / 0.5395 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3498, allocations: 0.8831 MB / 0.5404 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.3505, allocations: 295.7 kB / 0.5407 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3508, allocations: 108.7 kB / 0.5408 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.3508, allocations: 6.734 kB / 0.5408 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.3512, allocations: 219.1 kB / 0.541 GB, free: 5.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.694e-06/0.3513, allocations: 4 kB / 0.541 GB, free: 5.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001014/0.3523, allocations: 415.9 kB / 0.5414 GB, free: 4.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/0.3525, allocations: 346.4 kB / 0.5417 GB, free: 4.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009228/0.3535, allocations: 0.6658 MB / 0.5424 GB, free: 4.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3535, allocations: 34.27 kB / 0.5424 GB, free: 4.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.3537, allocations: 240.3 kB / 0.5426 GB, free: 3.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.3538, allocations: 70.06 kB / 0.5427 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3539, allocations: 64.25 kB / 0.5428 GB, free: 3.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3542, allocations: 370.6 kB / 0.5431 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.3544, allocations: 85.44 kB / 0.5432 GB, free: 3.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.3548, allocations: 240.9 kB / 0.5434 GB, free: 3.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.3552, allocations: 233.9 kB / 0.5437 GB, free: 3.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3553, allocations: 0 / 0.5437 GB, free: 3.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006481/0.3559, allocations: 323.1 kB / 0.544 GB, free: 2.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3559, allocations: 12.47 kB / 0.544 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.356, allocations: 1.312 kB / 0.544 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.356, allocations: 7.625 kB / 0.544 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.3562, allocations: 56.56 kB / 0.544 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3562, allocations: 3.25 kB / 0.544 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.3564, allocations: 27.94 kB / 0.5441 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.3565, allocations: 13.64 kB / 0.5441 GB, free: 2.852 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.0002782/0.3568, allocations: 220.2 kB / 0.5443 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.3569, allocations: 63.34 kB / 0.5444 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.357, allocations: 59.25 kB / 0.5444 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.357, allocations: 7.266 kB / 0.5444 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.357, allocations: 1.969 kB / 0.5444 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.357, allocations: 1.406 kB / 0.5444 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.3576, allocations: 417.9 kB / 0.5448 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3576, allocations: 5.438 kB / 0.5448 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.3577, allocations: 26.31 kB / 0.5448 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3577, allocations: 2.219 kB / 0.5449 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.3578, allocations: 15.53 kB / 0.5449 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3578, allocations: 6.156 kB / 0.5449 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3578, allocations: 1.281 kB / 0.5449 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007341/0.3585, allocations: 362.8 kB / 0.5452 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3587, allocations: 131.7 kB / 0.5453 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.3588, allocations: 17.44 kB / 0.5454 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.3589, allocations: 11.83 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3591, allocations: 41.67 kB / 0.5454 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.3591, allocations: 18.89 kB / 0.5454 GB, free: 1.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000598/0.3597, allocations: 490.8 kB / 0.5459 GB, free: 1.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 0 / 0.5459 GB, free: 1.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004614/0.3602, allocations: 103.9 kB / 0.546 GB, free: 1.293 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.002581/0.3628, allocations: 1.258 MB / 0.5472 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005687/0.3634, allocations: 227.6 kB / 0.5474 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3634, allocations: 0 / 0.5474 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.3637, allocations: 172.5 kB / 0.5476 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.3644, allocations: 151.9 kB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/0.3701, allocations: 4.289 MB / 0.5519 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.3707, allocations: 0.8467 MB / 0.5528 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.3709, allocations: 95.17 kB / 0.5529 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.3712, allocations: 179.4 kB / 0.553 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3712, allocations: 0 / 0.553 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.4072, allocations: 12.78 MB / 0.5655 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/8.887, allocations: 15.94 kB / 0.5655 GB, free: 13.33 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches