Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008117/0.0008116, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009891/0.0009892, allocations: 173.7 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3625/0.3625, allocations: 43.55 MB / 314.6 MB, free: 8.648 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000546/0.0005461, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1353, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003133/0.1385, allocations: 1.896 MB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1414, allocations: 1.377 MB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003881/0.1418, allocations: 3.938 kB / 446.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.1424, allocations: 119.6 kB / 446.3 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006294/0.143, allocations: 171.2 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1447, allocations: 0.542 MB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.1454, allocations: 458.6 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.1457, allocations: 73.17 kB / 447.5 MB, free: 8.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.1461, allocations: 195 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.1465, allocations: 187.1 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.1466, allocations: 12 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003287/0.1469, allocations: 111.9 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1471, allocations: 107.6 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.1472, allocations: 101.4 kB / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.1478, allocations: 419.3 kB / 448.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1478, allocations: 3.938 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1478, allocations: 4 kB / 448.6 MB, free: 7.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1479, allocations: 4 kB / 448.6 MB, free: 7.191 MB / 382.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.00142/0.1493, allocations: 0.8049 MB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1493, allocations: 8.031 kB / 449.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.302e-05/0.1494, allocations: 50.48 kB / 449.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.1496, allocations: 59.28 kB / 449.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.1503, allocations: 439.3 kB / 450 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1503, allocations: 16.23 kB / 450 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.1504, allocations: 12 kB / 450 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.1508, allocations: 261.3 kB / 450.2 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1509, allocations: 3.953 kB / 450.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.1509, allocations: 8 kB / 450.3 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1509, allocations: 3.984 kB / 450.3 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.1512, allocations: 107.9 kB / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1526, allocations: 0.8796 MB / 451.2 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.1532, allocations: 294.5 kB / 451.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.1535, allocations: 107.4 kB / 451.6 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1535, allocations: 4 kB / 451.6 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004305/0.1539, allocations: 218.6 kB / 451.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.564e-06/0.154, allocations: 0 / 451.9 MB, free: 3.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009661/0.1549, allocations: 396.8 kB / 452.2 MB, free: 3.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.1551, allocations: 346.1 kB / 452.6 MB, free: 2.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.1559, allocations: 0.6315 MB / 453.2 MB, free: 2.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.156, allocations: 37.7 kB / 453.3 MB, free: 2.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.1562, allocations: 224.6 kB / 453.5 MB, free: 1.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.1563, allocations: 63.25 kB / 453.5 MB, free: 1.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.1563, allocations: 8 kB / 453.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1565, allocations: 366.7 kB / 453.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1567, allocations: 79.95 kB / 454 MB, free: 1.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.157, allocations: 249 kB / 454.2 MB, free: 1.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.1573, allocations: 103.9 kB / 454.3 MB, free: 1.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1573, allocations: 0 / 454.3 MB, free: 1.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006174/0.1579, allocations: 318 kB / 454.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1579, allocations: 8 kB / 454.6 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1579, allocations: 0 / 454.6 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.158, allocations: 4 kB / 454.6 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1582, allocations: 55.89 kB / 454.7 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1582, allocations: 4 kB / 454.7 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.1584, allocations: 35.73 kB / 454.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1585, allocations: 12 kB / 454.7 MB, free: 0.5703 MB / 382.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 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.1588, allocations: 221.7 kB / 455 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.1589, allocations: 51.44 kB / 455 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.159, allocations: 51.91 kB / 455.1 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.159, allocations: 4 kB / 455.1 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.159, allocations: 4 kB / 455.1 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.159, allocations: 0 / 455.1 MB, free: 240 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.232/0.3911, allocations: 412.1 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3911, allocations: 2.969 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3912, allocations: 21.45 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3913, allocations: 5 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.3913, allocations: 9.5 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3913, allocations: 3.062 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3913, allocations: 3.453 kB / 455.5 MB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.392, allocations: 360.3 kB / 455.9 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.3921, allocations: 141.9 kB / 456 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.3922, allocations: 14.41 kB / 456 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3924, allocations: 19.8 kB / 456 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.3925, allocations: 36.45 kB / 456.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.3925, allocations: 13.97 kB / 456.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004762/0.393, allocations: 466.4 kB / 456.5 MB, free: 46.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.393, allocations: 1.75 kB / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.3935, allocations: 100.6 kB / 456.6 MB, free: 46.16 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/0.3952, allocations: 1.256 MB / 457.9 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.3957, allocations: 231.8 kB / 458.1 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3957, allocations: 0 / 458.1 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.396, allocations: 168.1 kB / 458.3 MB, free: 45.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.3966, allocations: 130.3 kB / 458.4 MB, free: 45.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.4003, allocations: 2.708 MB / 461.1 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4006, allocations: 0.8384 MB / 462 MB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.4009, allocations: 88.61 kB / 462.1 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.4011, allocations: 161.5 kB / 462.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4011, allocations: 0 / 462.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.426, allocations: 11.34 MB / 473.6 MB, free: 42.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.4262, allocations: 217.9 kB / 473.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.38, allocations: 0 / 473.8 MB, free: 42.5 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat