Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.0008817/0.0008816, allocations: 96.97 kB / 17 MB, free: 6.035 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.0008383/0.0008386, allocations: 174.5 kB / 17.89 MB, free: 5.633 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.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 312 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.2071/0.2071, allocations: 44.23 MB / 337.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003493, allocations: 16 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002167/0.1325, allocations: 1.39 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1338, allocations: 0.8075 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/0.1339, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.1342, allocations: 51.8 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1344, allocations: 55.81 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1347, allocations: 90.7 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1348, allocations: 79.7 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.1349, allocations: 12.22 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.135, allocations: 43.78 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.1351, allocations: 35.84 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1351, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/0.1352, allocations: 32 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.1353, allocations: 31.89 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.1353, allocations: 37.64 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1355, allocations: 96.03 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1355, allocations: 0 / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1355, allocations: 0 / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1355, allocations: 4 kB / 474.4 MB, free: 10.85 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.0004849/0.136, allocations: 434.6 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.136, allocations: 8.031 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1361, allocations: 34.5 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1361, allocations: 23.8 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1363, allocations: 195.9 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1364, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1364, allocations: 7.938 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1365, allocations: 61.61 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1365, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1366, allocations: 8 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1366, allocations: 0 / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.1366, allocations: 19.98 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.137, allocations: 300.8 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1372, allocations: 62.61 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.1372, allocations: 24.84 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1372, allocations: 0 / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.1375, allocations: 67.39 kB / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1375, allocations: 0 / 475.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004984/0.138, allocations: 181 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.1381, allocations: 55.41 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.1384, allocations: 275.7 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1384, allocations: 29.7 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1385, allocations: 108.1 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1385, allocations: 27.64 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.1385, allocations: 8 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1387, allocations: 326.8 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.1388, allocations: 19.98 kB / 476.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.1388, allocations: 45.58 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.1389, allocations: 24 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1389, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.1391, allocations: 109.5 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1391, allocations: 6.344 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1391, allocations: 0 / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1391, allocations: 7.922 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.1392, allocations: 16 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1392, allocations: 0 / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.1393, allocations: 12.02 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1393, allocations: 4 kB / 476.9 MB, free: 8.156 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.0001127/0.1394, allocations: 137.2 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1394, allocations: 19.81 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.1395, allocations: 21.5 kB / 477.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1395, allocations: 3.984 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1395, allocations: 4 kB / 477.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1395, allocations: 0 / 477.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.1399, allocations: 407.3 kB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.14, allocations: 3.984 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.14, allocations: 16.31 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.14, allocations: 0 / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.14, allocations: 4 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.14, allocations: 4 kB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.14, allocations: 0 / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1403, allocations: 208.2 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.1403, allocations: 92.91 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.1403, allocations: 4 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.1404, allocations: 0 / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1405, allocations: 11.98 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1405, allocations: 4 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1407, allocations: 205.5 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1407, allocations: 4 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1409, allocations: 23.94 kB / 478 MB, free: 6.906 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.001399/0.1423, allocations: 1.094 MB / 479.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1425, allocations: 59.91 kB / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1425, allocations: 0 / 479.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.1426, allocations: 35.92 kB / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1429, allocations: 26.86 kB / 479.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1443, allocations: 0.8995 MB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1446, allocations: 0.7298 MB / 480.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.1446, allocations: 16.88 kB / 480.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.1447, allocations: 47.41 kB / 480.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1447, allocations: 0 / 480.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.1596, allocations: 3.291 MB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.16, allocations: 220.5 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.052, allocations: 4 kB / 484.4 MB, free: 0.6562 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat