Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.000889/0.0008892, allocations: 98.97 kB / 17.01 MB, free: 6.105 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.001032/0.001033, allocations: 180 kB / 17.89 MB, free: 5.688 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.355/1.355, allocations: 223.3 MB / 241.9 MB, free: 332 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.2126/0.2126, allocations: 44.24 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 12.88 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002067/0.1262, allocations: 1.402 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1276, allocations: 0.7919 MB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.1277, allocations: 8 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.128, allocations: 47.8 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1282, allocations: 47.83 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.1285, allocations: 87.83 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1287, allocations: 91.69 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1288, allocations: 12.22 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.347e-05/0.1289, allocations: 43.77 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.129, allocations: 31.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.129, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1291, allocations: 35.98 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.1292, allocations: 27.91 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.1292, allocations: 37.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1294, allocations: 100.1 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1294, allocations: 3.938 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1294, allocations: 3.938 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.81e-06/0.1294, allocations: 0 / 474.4 MB, free: 10.86 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.0005481/0.13, allocations: 422.7 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.13, allocations: 8.031 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.1301, allocations: 42.55 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.1301, allocations: 7.906 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1304, allocations: 202.8 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1304, allocations: 11.98 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1304, allocations: 7.953 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1306, allocations: 57.61 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1306, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1306, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1306, allocations: 0 / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.1307, allocations: 19.98 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1311, allocations: 296.9 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1313, allocations: 62.61 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.1313, allocations: 20.84 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1313, allocations: 0 / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1315, allocations: 71.3 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1315, allocations: 4 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005457/0.1321, allocations: 181 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1322, allocations: 55.41 kB / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.1324, allocations: 258.3 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1325, allocations: 29.7 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.1325, allocations: 108.1 kB / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1326, allocations: 19.72 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.1326, allocations: 4 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1327, allocations: 338.8 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.1328, allocations: 16 kB / 476.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.1329, allocations: 45.58 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.1329, allocations: 23.98 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1329, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000171/0.1331, allocations: 101.6 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1331, allocations: 8 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1332, allocations: 4.109 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1332, allocations: 0 / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1333, allocations: 20.11 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1333, allocations: 7.984 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.1334, allocations: 7.875 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1334, allocations: 4.375 kB / 476.8 MB, free: 8.199 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.0001215/0.1335, allocations: 138.3 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1335, allocations: 15.81 kB / 477 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1336, allocations: 29.39 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1336, allocations: 0 / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1336, allocations: 4 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1336, allocations: 0 / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.1341, allocations: 403.3 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1341, allocations: 0 / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.1341, allocations: 8 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1341, allocations: 3.938 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1341, allocations: 12.03 kB / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1341, allocations: 0 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1342, allocations: 0 / 477.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1344, allocations: 208.1 kB / 477.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.1345, allocations: 92.92 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1345, allocations: 4 kB / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1346, allocations: 7.984 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.1346, allocations: 4 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1347, allocations: 8 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1348, allocations: 196.5 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 0 / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1351, allocations: 24 kB / 478 MB, free: 6.961 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.001443/0.1366, allocations: 1.105 MB / 479.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1367, allocations: 63.91 kB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1367, allocations: 0 / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.1368, allocations: 32.08 kB / 479.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1372, allocations: 27.75 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1385, allocations: 0.8705 MB / 480.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1388, allocations: 0.716 MB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.1389, allocations: 12.88 kB / 480.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.139, allocations: 43.42 kB / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.139, allocations: 0 / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.1551, allocations: 3.242 MB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.1554, allocations: 212.7 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.039, allocations: 4 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat