Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.0008407/0.0008408, allocations: 95.02 kB / 17 MB, free: 6.418 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.0008555/0.0008555, allocations: 188.6 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.397/1.397, allocations: 223.2 MB / 241.9 MB, free: 316 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.2012/0.2012, allocations: 44.23 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 8 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 61.91 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002159/0.1261, allocations: 1.402 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1281, allocations: 1.367 MB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.1282, allocations: 7.938 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1284, allocations: 31.91 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1286, allocations: 47.77 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.129, allocations: 98.64 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1291, allocations: 83.75 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.1292, allocations: 8.219 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.1293, allocations: 35.8 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1295, allocations: 31.84 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1295, allocations: 4 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1296, allocations: 59.84 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.1297, allocations: 15.98 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.1297, allocations: 41.62 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1299, allocations: 88.09 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1299, allocations: 0 / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1299, allocations: 0 / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1299, allocations: 0 / 475 MB, free: 10.28 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.0005465/0.1305, allocations: 391 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1305, allocations: 11.97 kB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1306, allocations: 34.56 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1306, allocations: 11.91 kB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1308, allocations: 195 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1309, allocations: 7.953 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1309, allocations: 4 kB / 475.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1311, allocations: 67.39 kB / 475.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1311, allocations: 3.906 kB / 475.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1311, allocations: 4 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1311, allocations: 0 / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.998e-05/0.1312, allocations: 23.92 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1316, allocations: 280.9 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1317, allocations: 58.67 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.1318, allocations: 16.86 kB / 476.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1318, allocations: 3.938 kB / 476.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.132, allocations: 79.36 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.132, allocations: 0 / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005191/0.1325, allocations: 161.2 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1326, allocations: 81.11 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1328, allocations: 155.8 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1328, allocations: 29.7 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.1328, allocations: 100.1 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1329, allocations: 19.66 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.1329, allocations: 8 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.133, allocations: 318.8 kB / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.1331, allocations: 23.92 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.1331, allocations: 38.56 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.1332, allocations: 35.97 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1332, allocations: 192 / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1334, allocations: 97.56 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1334, allocations: 7.938 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1334, allocations: 0 / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1334, allocations: 4 kB / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1335, allocations: 15.94 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1335, allocations: 0 / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.1336, allocations: 19.84 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1336, allocations: 4.031 kB / 477.2 MB, free: 7.762 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.674e-05/0.1337, allocations: 118.4 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.1337, allocations: 7.906 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.1338, allocations: 16.7 kB / 477.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1338, allocations: 3.984 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1338, allocations: 4 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1338, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.1342, allocations: 387.3 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1343, allocations: 4 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.1343, allocations: 11.98 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1343, allocations: 384 / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1343, allocations: 0 / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1343, allocations: 4 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1343, allocations: 11.89 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1346, allocations: 200.3 kB / 478 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.1346, allocations: 89 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1347, allocations: 8 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.1348, allocations: 0 / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1348, allocations: 11.94 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1348, allocations: 4 kB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1349, allocations: 122.2 kB / 478.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1349, allocations: 0 / 478.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1352, allocations: 28 kB / 478.2 MB, free: 6.645 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.001468/0.1367, allocations: 1.143 MB / 479.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1369, allocations: 55.92 kB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1369, allocations: 0 / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.137, allocations: 28.05 kB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1373, allocations: 35.92 kB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1383, allocations: 0.6195 MB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1387, allocations: 0.6975 MB / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.1388, allocations: 25.31 kB / 480.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1388, allocations: 39.41 kB / 480.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1388, allocations: 0 / 480.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.1551, allocations: 3.059 MB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.1553, allocations: 221.5 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/1.96, allocations: 0 / 484.2 MB, free: 0.9375 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat