Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.0009783/0.0009783, allocations: 98.42 kB / 17 MB, free: 6.477 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.001135/0.001136, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.406/1.406, allocations: 223.2 MB / 241.9 MB, free: 356 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.2176/0.2176, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 15.98 kB / 409.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 61.91 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00204/0.126, allocations: 1.39 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1273, allocations: 0.8036 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.1274, allocations: 3.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1276, allocations: 43.88 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1278, allocations: 43.83 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1281, allocations: 91.27 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1282, allocations: 79.77 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1283, allocations: 12.16 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.1284, allocations: 47.78 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.1285, allocations: 23.86 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1285, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.1286, allocations: 39.98 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.1287, allocations: 15.91 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1287, allocations: 41.64 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1289, allocations: 84.09 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1289, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1289, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1289, allocations: 0 / 474.4 MB, free: 10.89 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.0004963/0.1294, allocations: 406.8 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1294, allocations: 8.031 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.1295, allocations: 34.56 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.1295, allocations: 11.84 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1297, allocations: 211.5 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1298, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1298, allocations: 7.953 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1299, allocations: 53.67 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1299, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.13, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.13, allocations: 3.938 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.13, allocations: 19.98 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.1304, allocations: 284.9 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1305, allocations: 58.67 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.1306, allocations: 28.78 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1307, allocations: 0 / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.1308, allocations: 71.3 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1308, allocations: 0 / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005133/0.1313, allocations: 181.1 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1314, allocations: 51.41 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1316, allocations: 199.3 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1316, allocations: 25.7 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.1317, allocations: 108.1 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1317, allocations: 19.72 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.1317, allocations: 0 / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1319, allocations: 330.8 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.1319, allocations: 15.98 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.132, allocations: 41.7 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.1321, allocations: 27.94 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1321, allocations: 0 / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1323, allocations: 93.58 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1323, allocations: 4 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1323, allocations: 4 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1323, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.1324, allocations: 15.94 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1324, allocations: 3.984 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1325, allocations: 12.41 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1325, allocations: 7.938 kB / 476.7 MB, free: 8.352 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.0001073/0.1326, allocations: 126.3 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.1326, allocations: 19.8 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1327, allocations: 13.59 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1327, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1327, allocations: 3.938 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1327, allocations: 7.984 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.1331, allocations: 399.3 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1331, allocations: 0 / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.1332, allocations: 8 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1332, allocations: 4 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1332, allocations: 4 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1332, allocations: 0 / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1332, allocations: 3.938 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1334, allocations: 212.4 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.1335, allocations: 93 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1335, allocations: 4 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-05/0.1336, allocations: 0 / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1336, allocations: 11.98 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1337, allocations: 4 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1338, allocations: 148.9 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1338, allocations: 4 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.134, allocations: 24 kB / 477.7 MB, free: 7.176 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.001401/0.1355, allocations: 1.101 MB / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1356, allocations: 51.92 kB / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1356, allocations: 0 / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.1357, allocations: 27.98 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.136, allocations: 36.03 kB / 479 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1372, allocations: 0.7312 MB / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.1376, allocations: 0.7004 MB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.789e-05/0.1377, allocations: 21.17 kB / 480.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.1377, allocations: 35.36 kB / 480.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1377, allocations: 8 kB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1524, allocations: 2.975 MB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.1526, allocations: 213.9 kB / 483.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/1.972, allocations: 3.938 kB / 483.6 MB, free: 1.465 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat