Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.0009496/0.0009496, allocations: 96.16 kB / 16.99 MB, free: 5.941 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.001029/0.001029, allocations: 183 kB / 17.87 MB, free: 5.609 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.366/1.366, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001971/0.1332, allocations: 1.39 MB / 472.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1344, allocations: 0.7881 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.1344, allocations: 3.938 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1347, allocations: 35.83 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1348, allocations: 35.89 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1351, allocations: 95.64 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1352, allocations: 63.84 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.928e-05/0.1353, allocations: 12.23 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.1354, allocations: 35.84 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.1354, allocations: 23.86 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1355, allocations: 4 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.1355, allocations: 23.98 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.1356, allocations: 23.91 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.1356, allocations: 37.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1358, allocations: 76.11 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1358, allocations: 7.875 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1358, allocations: 4 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1358, allocations: 0 / 474.2 MB, free: 10.97 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.000428/0.1362, allocations: 387 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1363, allocations: 12.03 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.1363, allocations: 30.56 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1363, allocations: 7.906 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1365, allocations: 207.4 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1366, allocations: 0 / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1366, allocations: 7.953 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1367, allocations: 57.67 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1367, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1367, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1368, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.1368, allocations: 19.98 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.1371, allocations: 284.8 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1373, allocations: 62.61 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1373, allocations: 4 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.1375, allocations: 67.52 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1375, allocations: 0 / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004805/0.138, allocations: 169.2 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.138, allocations: 59.33 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1382, allocations: 160.3 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1382, allocations: 33.7 kB / 475.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.1382, allocations: 96.14 kB / 475.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1383, allocations: 23.64 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.1383, allocations: 4 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.1384, allocations: 326.7 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.1385, allocations: 23.98 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.1385, allocations: 37.7 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.1386, allocations: 20 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1386, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.1388, allocations: 101.5 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1388, allocations: 4 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1388, allocations: 0 / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1388, allocations: 0 / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.1389, allocations: 20.17 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1389, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.139, allocations: 7.969 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.139, allocations: 4 kB / 476.4 MB, free: 8.543 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 8.897e-05/0.1391, allocations: 134.2 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.1391, allocations: 7.906 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.1392, allocations: 12.72 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1392, allocations: 0 / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1392, allocations: 0 / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1392, allocations: 11.97 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.1396, allocations: 391.2 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.1396, allocations: 4 kB / 476.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.1396, allocations: 8 kB / 476.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1396, allocations: 0 / 476.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1397, allocations: 0 / 476.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1397, allocations: 4 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1397, allocations: 0 / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1399, allocations: 214 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.14, allocations: 93 kB / 477.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.14, allocations: 7.938 kB / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.1401, allocations: 0 / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1401, allocations: 15.92 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1401, allocations: 4.375 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.876e-05/0.1402, allocations: 130 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1402, allocations: 0 / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1405, allocations: 24 kB / 477.4 MB, free: 7.391 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.001358/0.1419, allocations: 1.176 MB / 478.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.142, allocations: 55.98 kB / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.142, allocations: 0 / 478.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.1421, allocations: 35.98 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1424, allocations: 27.92 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1434, allocations: 0.7866 MB / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1437, allocations: 0.7004 MB / 480.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.1438, allocations: 25.17 kB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.1438, allocations: 35.42 kB / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1438, allocations: 0 / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.157, allocations: 2.796 MB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.1572, allocations: 207.8 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.955, allocations: 0 / 483.3 MB, free: 1.719 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat