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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_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.0008676/0.0008675, allocations: 92.75 kB / 17 MB, free: 6.418 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.001262/0.001262, allocations: 189.3 kB / 17.89 MB, free: 5.945 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.379/1.379, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.22 MB / 337.2 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 11.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002445/0.1209, allocations: 1.892 MB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1231, allocations: 1.459 MB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1232, allocations: 0 / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1236, allocations: 123.5 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.1239, allocations: 175.3 kB / 475.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1252, allocations: 0.5789 MB / 475.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.1257, allocations: 458.6 kB / 476.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1259, allocations: 57.25 kB / 476.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1261, allocations: 191 kB / 476.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.1263, allocations: 183.2 kB / 476.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1264, allocations: 8 kB / 476.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.1266, allocations: 119.8 kB / 476.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1268, allocations: 107.6 kB / 477 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.1269, allocations: 101.4 kB / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.1273, allocations: 431.2 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1273, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1273, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1273, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.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.001088/0.1284, allocations: 0.8108 MB / 478.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1285, allocations: 12.03 kB / 478.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1285, allocations: 42.55 kB / 478.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.1286, allocations: 51.34 kB / 478.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.1292, allocations: 443.4 kB / 478.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1292, allocations: 16.19 kB / 478.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1293, allocations: 19.98 kB / 478.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.1297, allocations: 261.3 kB / 479.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1297, allocations: 3.938 kB / 479.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.1297, allocations: 8 kB / 479.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1298, allocations: 4 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.13, allocations: 107.9 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1311, allocations: 0.8835 MB / 480.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006353/0.1318, allocations: 290.5 kB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.132, allocations: 107.4 kB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.132, allocations: 12 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.1325, allocations: 214.6 kB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.1325, allocations: 0 / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009179/0.1334, allocations: 401.7 kB / 481.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.1336, allocations: 342.1 kB / 481.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.1344, allocations: 0.6353 MB / 482.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1344, allocations: 37.7 kB / 482.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1346, allocations: 224.5 kB / 482.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.1347, allocations: 63.27 kB / 482.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.1347, allocations: 8 kB / 482.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1349, allocations: 370.8 kB / 482.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1351, allocations: 79.95 kB / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.1354, allocations: 253.5 kB / 483.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.1357, allocations: 108 kB / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1357, allocations: 4 kB / 483.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005677/0.1363, allocations: 304.8 kB / 483.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1363, allocations: 4 kB / 483.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1363, allocations: 4 kB / 483.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1363, allocations: 8.125 kB / 483.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.1366, allocations: 55.86 kB / 483.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.1366, allocations: 7.938 kB / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.1368, allocations: 31.83 kB / 483.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.1368, allocations: 15.98 kB / 483.6 MB, free: 1.125 MB / 350.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.0002284/0.137, allocations: 214 kB / 483.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.1371, allocations: 59.33 kB / 483.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.1372, allocations: 55.91 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1372, allocations: 4 kB / 484 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1372, allocations: 7.891 kB / 484 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1373, allocations: 4 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.1376, allocations: 409.2 kB / 484.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1377, allocations: 0 / 484.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1378, allocations: 23.98 kB / 484.4 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1378, allocations: 0 / 484.4 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1378, allocations: 11.98 kB / 484.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1378, allocations: 7.938 kB / 484.4 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1378, allocations: 3.938 kB / 484.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.1385, allocations: 361.1 kB / 484.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1386, allocations: 144.4 kB / 484.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.1387, allocations: 12 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1388, allocations: 19.98 kB / 484.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1389, allocations: 47.83 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.139, allocations: 15.98 kB / 485 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005063/0.1395, allocations: 462.8 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1395, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.1399, allocations: 92 kB / 485.5 MB, free: 15.11 MB / 366.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.001738/0.1416, allocations: 1.254 MB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.1422, allocations: 232 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1422, allocations: 0 / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.1425, allocations: 163.8 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.1431, allocations: 129.8 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.1471, allocations: 2.723 MB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1475, allocations: 0.8392 MB / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000256/0.1478, allocations: 91.83 kB / 491 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.148, allocations: 159.4 kB / 491.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1481, allocations: 0 / 491.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.1738, allocations: 11.34 MB / 0.4907 GB, free: 14.37 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.174, allocations: 203.1 kB / 0.4909 GB, free: 14.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.304, allocations: 0 / 0.4909 GB, free: 14.13 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat