Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.0008459/0.0008458, allocations: 98.52 kB / 17 MB, free: 6.414 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.0008319/0.0008322, allocations: 189.2 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.41/1.41, allocations: 223.2 MB / 241.9 MB, free: 244 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.2108/0.2108, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003874, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.123, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.001989/0.125, allocations: 1.398 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1263, allocations: 0.7998 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.1264, allocations: 3.938 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1266, allocations: 27.89 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.1268, allocations: 43.84 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1271, allocations: 87.45 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1272, allocations: 91.67 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.1273, allocations: 12.17 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.701e-05/0.1274, allocations: 39.8 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.1275, allocations: 27.84 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1275, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.1276, allocations: 31.98 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.1276, allocations: 19.92 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.1277, allocations: 37.64 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1278, allocations: 80.09 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1279, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1279, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1279, allocations: 0 / 474.4 MB, free: 10.9 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.0004543/0.1283, allocations: 399 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1284, allocations: 12.03 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.1284, allocations: 34.56 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1285, allocations: 15.78 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.1287, allocations: 198.9 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1287, allocations: 0 / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1287, allocations: 11.95 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1289, allocations: 49.67 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1289, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1289, allocations: 4 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1289, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.155e-05/0.129, allocations: 19.98 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1293, allocations: 292.8 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1295, allocations: 46.69 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.1296, allocations: 28.84 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1296, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1298, allocations: 71.31 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1298, allocations: 0 / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004806/0.1303, allocations: 173.3 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1303, allocations: 51.41 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1305, allocations: 176.5 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1305, allocations: 29.69 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1306, allocations: 104 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.1306, allocations: 27.64 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1306, allocations: 0 / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1308, allocations: 326.8 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.131, allocations: 20 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.1311, allocations: 37.7 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.1311, allocations: 23.98 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1311, allocations: 0 / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.1313, allocations: 101.5 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1313, allocations: 10.5 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1313, allocations: 0 / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1314, allocations: 0 / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.1314, allocations: 15.98 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.1315, allocations: 4 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.1315, allocations: 4.031 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1315, allocations: 7.938 kB / 476.6 MB, free: 8.414 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 0.0001161/0.1317, allocations: 137.2 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.1317, allocations: 7.906 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.1317, allocations: 12.72 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1317, allocations: 7.984 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1317, allocations: 0 / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1317, allocations: 3.984 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.1322, allocations: 395.2 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1322, allocations: 0 / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.1322, allocations: 8 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1322, allocations: 0 / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1322, allocations: 4 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1323, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1323, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1325, allocations: 212.2 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1326, allocations: 89 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1326, allocations: 0 / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.1327, allocations: 8 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1327, allocations: 7.984 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1327, allocations: 0 / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1328, allocations: 138.8 kB / 477.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1329, allocations: 4.188 kB / 477.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1331, allocations: 23.98 kB / 477.6 MB, free: 7.273 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.001559/0.1347, allocations: 1.105 MB / 478.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1349, allocations: 55.95 kB / 478.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1349, allocations: 4 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.135, allocations: 31.92 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1353, allocations: 28.11 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1364, allocations: 0.6687 MB / 479.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1367, allocations: 0.704 MB / 480.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.1368, allocations: 17.17 kB / 480.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.1369, allocations: 35.42 kB / 480.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1369, allocations: 4 kB / 480.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.1498, allocations: 2.861 MB / 483.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.15, allocations: 221.1 kB / 483.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.035, allocations: 3.938 kB / 483.4 MB, free: 1.723 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat