Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.0008288/0.000829, allocations: 95.86 kB / 17 MB, free: 6.352 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.001432/0.001432, allocations: 184.1 kB / 17.89 MB, free: 5.926 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.45/1.45, allocations: 223.2 MB / 241.9 MB, free: 32 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.2397/0.2397, allocations: 44.23 MB / 337.2 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003549, allocations: 11.98 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002157/0.1339, allocations: 1.398 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1351, allocations: 0.7959 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.1352, allocations: 3.938 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1354, allocations: 31.89 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1356, allocations: 51.83 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1359, allocations: 87.77 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1361, allocations: 91.67 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1362, allocations: 8.234 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.1362, allocations: 35.8 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.1363, allocations: 31.78 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1363, allocations: 4 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.936e-05/0.1364, allocations: 35.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1365, allocations: 23.92 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1366, allocations: 37.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1367, allocations: 88.08 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1367, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1367, allocations: 4 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1367, allocations: 0 / 474.4 MB, free: 10.87 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.0005064/0.1372, allocations: 398.8 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1373, allocations: 8.031 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.1373, allocations: 42.48 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1374, allocations: 11.91 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1376, allocations: 199.6 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1376, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1376, allocations: 15.92 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1378, allocations: 53.67 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1378, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1378, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1378, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.1379, allocations: 23.92 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.1383, allocations: 292.9 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1384, allocations: 54.69 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.1385, allocations: 20.84 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1385, allocations: 3.938 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.1387, allocations: 75.3 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1387, allocations: 0 / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005272/0.1393, allocations: 173.1 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.1393, allocations: 55.41 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1395, allocations: 195.3 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1395, allocations: 29.7 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1396, allocations: 104.1 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1396, allocations: 27.7 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.1397, allocations: 0 / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1398, allocations: 330.8 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.1399, allocations: 12 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.1399, allocations: 41.64 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.14, allocations: 31.92 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.14, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1402, allocations: 101.6 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1402, allocations: 8 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1402, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1402, allocations: 0 / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.1403, allocations: 19.92 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1404, allocations: 4 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.1404, allocations: 4.312 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1404, allocations: 8 kB / 476.7 MB, free: 8.328 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.632e-05/0.1405, allocations: 130.3 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.1406, allocations: 19.81 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.1406, allocations: 17.41 kB / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1406, allocations: 0 / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1406, allocations: 4 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1406, allocations: 3.984 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.1411, allocations: 391.3 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1411, allocations: 0 / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.1411, allocations: 12.03 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1411, allocations: 4 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1411, allocations: 4 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1411, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1412, allocations: 7.922 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1414, allocations: 200.2 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.1415, allocations: 89.02 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1415, allocations: 8 kB / 477.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.1416, allocations: 3.984 kB / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1416, allocations: 8 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1416, allocations: 4 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1417, allocations: 148.9 kB / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1417, allocations: 0 / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.142, allocations: 27.98 kB / 477.7 MB, free: 7.164 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.001437/0.1435, allocations: 1.111 MB / 478.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1436, allocations: 63.88 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1436, allocations: 0 / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.769e-05/0.1437, allocations: 28 kB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.144, allocations: 23.97 kB / 479 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1452, allocations: 0.7274 MB / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1455, allocations: 0.7043 MB / 480.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.1455, allocations: 20.81 kB / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.1456, allocations: 35.42 kB / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1456, allocations: 0 / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.1588, allocations: 2.98 MB / 483.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.159, allocations: 216.7 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.96, allocations: 0 / 483.6 MB, free: 1.453 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat