Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.0007775/0.0007775, allocations: 96.94 kB / 17 MB, free: 5.953 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.0009214/0.0009215, allocations: 187.8 kB / 17.89 MB, free: 5.57 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.345/1.345, allocations: 223.2 MB / 241.9 MB, free: 216 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.2445/0.2445, allocations: 44.23 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002061/0.1279, allocations: 1.398 MB / 473.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1291, allocations: 0.7919 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.1292, allocations: 3.938 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.1294, allocations: 31.89 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1296, allocations: 47.83 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1299, allocations: 98.89 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.13, allocations: 79.75 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.1301, allocations: 8.234 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.1302, allocations: 39.78 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.1303, allocations: 31.84 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1303, allocations: 0 / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.1304, allocations: 35.98 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.1305, allocations: 23.92 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.1305, allocations: 37.64 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1307, allocations: 84.03 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1307, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1307, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1307, allocations: 0 / 474.4 MB, free: 10.91 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.0005619/0.1313, allocations: 402.9 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1313, allocations: 8.031 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.1314, allocations: 38.55 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.1314, allocations: 15.81 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1317, allocations: 194.9 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1317, allocations: 0 / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1317, allocations: 15.94 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1319, allocations: 49.67 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1319, allocations: 0 / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1319, allocations: 4 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1319, allocations: 3.938 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.132, allocations: 23.92 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.1324, allocations: 292.9 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1326, allocations: 50.69 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.1326, allocations: 24.84 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1327, allocations: 0 / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.1329, allocations: 71.33 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1329, allocations: 0 / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000561/0.1334, allocations: 177.2 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1335, allocations: 51.41 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1337, allocations: 186.2 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1337, allocations: 29.7 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1338, allocations: 100.1 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.1338, allocations: 27.7 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1338, allocations: 0 / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.134, allocations: 330.8 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.1341, allocations: 15.98 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.1341, allocations: 37.7 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.1342, allocations: 24 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1342, allocations: 0 / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1344, allocations: 105.4 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1345, allocations: 6.344 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1345, allocations: 7.984 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1345, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.1346, allocations: 15.94 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1346, allocations: 4.141 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.1347, allocations: 8.188 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1347, allocations: 4 kB / 476.6 MB, free: 8.402 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.0001148/0.1348, allocations: 134.3 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.1348, allocations: 7.906 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.1349, allocations: 24.69 kB / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1349, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1349, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1349, allocations: 0 / 476.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.1353, allocations: 391.3 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1353, allocations: 4 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1354, allocations: 15.97 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1354, allocations: 0 / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1354, allocations: 7.984 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1354, allocations: 0 / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1354, allocations: 4 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1356, allocations: 200.1 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.1357, allocations: 89.02 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1357, allocations: 11.98 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.1358, allocations: 0 / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.1359, allocations: 4 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1359, allocations: 11.98 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.136, allocations: 139.2 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.136, allocations: 0 / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1363, allocations: 23.98 kB / 477.7 MB, free: 7.246 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.001441/0.1377, allocations: 1.107 MB / 478.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.1379, allocations: 71.83 kB / 478.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1379, allocations: 3.938 kB / 478.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.138, allocations: 20 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1383, allocations: 28.28 kB / 478.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.1395, allocations: 0.6961 MB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1398, allocations: 0.7083 MB / 480.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.1398, allocations: 12.88 kB / 480.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1399, allocations: 35.42 kB / 480.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1399, allocations: 0 / 480.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1527, allocations: 2.924 MB / 483.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.1529, allocations: 215.4 kB / 483.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.056, allocations: 3.938 kB / 483.5 MB, free: 1.613 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat