Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001153/0.001153, allocations: 95.72 kB / 17 MB, free: 6.105 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.00129/0.00129, allocations: 181.6 kB / 17.89 MB, free: 5.688 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.371/1.371, allocations: 223.3 MB / 241.9 MB, free: 324 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.2778/0.2778, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001985/0.1301, allocations: 1.394 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1313, allocations: 0.8036 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.1314, allocations: 0 / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1317, allocations: 47.81 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1319, allocations: 55.81 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1321, allocations: 87.83 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.1323, allocations: 87.69 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.1324, allocations: 8.234 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.1325, allocations: 39.78 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.1325, allocations: 35.84 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1326, allocations: 4 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.1327, allocations: 39.92 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.1327, allocations: 23.92 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1328, allocations: 41.62 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1329, allocations: 96.08 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1329, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1329, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1329, allocations: 0 / 474.4 MB, free: 10.83 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.0005108/0.1335, allocations: 430.6 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1335, allocations: 8.031 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.1336, allocations: 38.56 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.1336, allocations: 7.906 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1338, allocations: 210.8 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1338, allocations: 4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1339, allocations: 3.953 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.134, allocations: 57.67 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.134, allocations: 3.938 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.134, allocations: 4 kB / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.134, allocations: 0 / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.012e-05/0.1341, allocations: 19.98 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1345, allocations: 296.9 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1346, allocations: 50.69 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.1347, allocations: 28.78 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1347, allocations: 0 / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1349, allocations: 71.3 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1349, allocations: 0 / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.1354, allocations: 189 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1355, allocations: 51.41 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1357, allocations: 266.3 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1358, allocations: 25.7 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1358, allocations: 112.1 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1359, allocations: 23.7 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.1359, allocations: 4 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.136, allocations: 330.8 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.1361, allocations: 23.92 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.1361, allocations: 37.7 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.1362, allocations: 27.94 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1362, allocations: 192 / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.1364, allocations: 101.5 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1364, allocations: 11.94 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1364, allocations: 0 / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1364, allocations: 3.984 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.1365, allocations: 15.94 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1365, allocations: 4 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.1366, allocations: 7.969 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1366, allocations: 4 kB / 476.8 MB, free: 8.168 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.0001179/0.1367, allocations: 138.3 kB / 477 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1368, allocations: 23.78 kB / 477 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.1368, allocations: 17.41 kB / 477 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1368, allocations: 4 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1368, allocations: 0 / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1368, allocations: 0 / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.1373, allocations: 403.4 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1373, allocations: 0 / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1373, allocations: 8 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1373, allocations: 0 / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1373, allocations: 7.984 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1373, allocations: 4.016 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1373, allocations: 3.984 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1376, allocations: 212.2 kB / 477.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1376, allocations: 92.92 kB / 477.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1377, allocations: 7.984 kB / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.1377, allocations: 0 / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1378, allocations: 4 kB / 477.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1378, allocations: 11.98 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.138, allocations: 192.5 kB / 477.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.138, allocations: 4 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1383, allocations: 24 kB / 478 MB, free: 6.93 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.001392/0.1396, allocations: 1.111 MB / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1398, allocations: 55.92 kB / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1399, allocations: 0 / 479.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.1399, allocations: 31.97 kB / 479.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1403, allocations: 24.09 kB / 479.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.1416, allocations: 0.8782 MB / 480.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1419, allocations: 0.7121 MB / 480.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1419, allocations: 17.17 kB / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.142, allocations: 47.42 kB / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.142, allocations: 0 / 480.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.155, allocations: 3.238 MB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.1552, allocations: 217.1 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.036, allocations: 0 / 484.3 MB, free: 0.7891 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat