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.0009996/0.0009996, allocations: 94.47 kB / 16.98 MB, free: 5.938 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.001043/0.001043, allocations: 188.9 kB / 17.88 MB, free: 5.594 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.429/1.429, allocations: 223.2 MB / 241.8 MB, free: 232 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.2172/0.2172, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003326, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002086/0.1331, allocations: 1.391 MB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1344, allocations: 0.792 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.1344, allocations: 7.875 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1347, allocations: 27.89 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1349, allocations: 39.89 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1353, allocations: 99.19 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1354, allocations: 55.88 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.1355, allocations: 12.22 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.1356, allocations: 39.84 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.1357, allocations: 31.84 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1357, allocations: 0 / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.1358, allocations: 27.98 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1358, allocations: 19.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.1359, allocations: 37.64 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.136, allocations: 88.03 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1361, allocations: 4 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1361, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1361, allocations: 0 / 474.2 MB, free: 10.98 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.0004865/0.1366, allocations: 406.8 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1366, allocations: 8.031 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.1367, allocations: 42.5 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.1367, allocations: 11.91 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1369, allocations: 203.6 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.137, allocations: 4 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.137, allocations: 7.953 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1371, allocations: 53.67 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1372, allocations: 4 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1372, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1372, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/0.1372, allocations: 23.92 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.1376, allocations: 280.9 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1378, allocations: 62.66 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1378, allocations: 4 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.138, allocations: 75.36 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.138, allocations: 0 / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005264/0.1385, allocations: 177.1 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1386, allocations: 51.41 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1387, allocations: 199.3 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1388, allocations: 29.7 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1388, allocations: 104.1 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1388, allocations: 19.72 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.1389, allocations: 4 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.139, allocations: 326.8 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.139, allocations: 19.98 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.1391, allocations: 41.69 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.1392, allocations: 24 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1392, allocations: 0 / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.1394, allocations: 101.5 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1394, allocations: 4 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1394, allocations: 4 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1395, allocations: 0 / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.1395, allocations: 15.98 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1396, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1396, allocations: 7.938 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1396, allocations: 8.219 kB / 476.5 MB, free: 8.461 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.341e-05/0.1397, allocations: 134.2 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.1398, allocations: 19.75 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.1398, allocations: 13.41 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1398, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1398, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1398, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.1403, allocations: 403.6 kB / 477 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1403, allocations: 0 / 477 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.1403, allocations: 12 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1403, allocations: 0 / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1403, allocations: 4 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1404, allocations: 0 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1404, allocations: 0 / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1406, allocations: 221.8 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.1407, allocations: 89 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1407, allocations: 8 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1408, allocations: 3.938 kB / 477.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.1408, allocations: 7.984 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1408, allocations: 4 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.141, allocations: 156.8 kB / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.141, allocations: 0 / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1412, allocations: 27.98 kB / 477.6 MB, free: 7.27 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.001432/0.1427, allocations: 1.174 MB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1429, allocations: 55.91 kB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1429, allocations: 0 / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.143, allocations: 27.94 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1433, allocations: 32.05 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1445, allocations: 0.8704 MB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1448, allocations: 0.7082 MB / 480.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1449, allocations: 21.11 kB / 480.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1449, allocations: 39.42 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.145, allocations: 0 / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.1584, allocations: 2.963 MB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.1589, allocations: 216.8 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.881, allocations: 0 / 483.7 MB, free: 1.34 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