Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.0008612/0.0008613, allocations: 93.56 kB / 17 MB, free: 6.129 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.001005/0.001006, allocations: 181.7 kB / 17.89 MB, free: 5.707 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.449/1.449, allocations: 223.2 MB / 241.9 MB, free: 352 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.2304/0.2304, allocations: 44.23 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001889/0.1281, allocations: 1.39 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1293, allocations: 0.8075 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.1293, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.1296, allocations: 47.81 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1298, allocations: 47.81 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1301, allocations: 95.45 kB / 474.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1302, allocations: 79.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.1303, allocations: 8.234 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.1304, allocations: 47.77 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.1305, allocations: 27.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1305, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.1306, allocations: 35.98 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.1307, allocations: 23.91 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.1307, allocations: 37.64 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1309, allocations: 84.09 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1309, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1309, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1309, allocations: 0 / 474.4 MB, free: 10.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004925/0.1314, allocations: 410.8 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1314, allocations: 11.97 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.1315, allocations: 42.48 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.1315, allocations: 11.91 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1317, allocations: 211.3 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1317, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1318, allocations: 7.953 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1319, allocations: 57.67 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.1319, allocations: 4 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1319, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1319, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.132, allocations: 23.92 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.1324, allocations: 292.8 kB / 475.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1325, allocations: 58.67 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.1326, allocations: 16.86 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1326, allocations: 7.984 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1328, allocations: 67.33 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1328, allocations: 0 / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004936/0.1333, allocations: 173.1 kB / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1334, allocations: 63.39 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1336, allocations: 218.7 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1336, allocations: 29.7 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.1337, allocations: 104.1 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1337, allocations: 27.64 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.1337, allocations: 0 / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1338, allocations: 330.8 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.1339, allocations: 23.98 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.1339, allocations: 45.64 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.268e-05/0.134, allocations: 20 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.134, allocations: 0 / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.1342, allocations: 97.44 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1342, allocations: 4 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1342, allocations: 7.984 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1342, allocations: 0 / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.1343, allocations: 12 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1343, allocations: 4.031 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1344, allocations: 8 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1344, allocations: 12.11 kB / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.579e-05/0.1345, allocations: 129.8 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1345, allocations: 11.84 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.1346, allocations: 21.39 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1346, allocations: 3.984 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.1346, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1346, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.135, allocations: 407.2 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.135, allocations: 4 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.1351, allocations: 8 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1351, allocations: 384 / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1351, allocations: 0 / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1351, allocations: 4 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1351, allocations: 4 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1353, allocations: 216.4 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.1354, allocations: 96.91 kB / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1354, allocations: 0 / 477.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1355, allocations: 4 kB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1355, allocations: 7.984 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1355, allocations: 0 / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1356, allocations: 180.3 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1357, allocations: 0 / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1359, allocations: 20 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001514/0.1374, allocations: 1.101 MB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1376, allocations: 51.92 kB / 479 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1376, allocations: 4 kB / 479 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.1377, allocations: 35.91 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.138, allocations: 24.3 kB / 479.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1393, allocations: 0.8026 MB / 479.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1396, allocations: 0.7121 MB / 480.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1396, allocations: 21.17 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.1397, allocations: 35.42 kB / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1397, allocations: 0 / 480.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.1537, allocations: 3.073 MB / 483.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.1539, allocations: 221.9 kB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.001, allocations: 0 / 483.9 MB, free: 1.203 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat