Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.0008766/0.0008766, allocations: 98.03 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.0008903/0.0008906, 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.346/1.346, allocations: 223.2 MB / 241.9 MB, free: 360 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.221/0.221, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 12.78 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 61.91 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.001869/0.131, allocations: 1.425 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1323, allocations: 0.7998 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1324, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1328, allocations: 87.7 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.133, allocations: 59.8 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1333, allocations: 99.58 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1335, allocations: 99.67 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1336, allocations: 11.98 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.1337, allocations: 51.77 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.1338, allocations: 39.84 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1338, allocations: 4 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1339, allocations: 47.97 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.134, allocations: 19.92 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.134, allocations: 49.56 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1342, allocations: 96.08 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1342, allocations: 3.938 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1342, allocations: 4 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1343, allocations: 0 / 474.5 MB, free: 10.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005249/0.1348, allocations: 410.8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1348, allocations: 8.031 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.1349, allocations: 34.56 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.1349, allocations: 11.91 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1351, allocations: 210.8 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1352, allocations: 4 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1352, allocations: 7.953 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1354, allocations: 61.61 kB / 475.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1354, allocations: 0 / 475.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1354, allocations: 0 / 475.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1354, allocations: 0 / 475.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.1355, allocations: 23.97 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.136, allocations: 300.8 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.1362, allocations: 66.48 kB / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1363, allocations: 20.97 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.1363, allocations: 0 / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1365, allocations: 75.45 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.1365, allocations: 0 / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007232/0.1372, allocations: 233.1 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1373, allocations: 55.34 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1375, allocations: 215.2 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1375, allocations: 29.7 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.1376, allocations: 104 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1376, allocations: 47.47 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.1376, allocations: 4 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1377, allocations: 326.8 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.1378, allocations: 27.98 kB / 476.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.1379, allocations: 49.7 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.138, allocations: 36.03 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.138, allocations: 0 / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000209/0.1382, allocations: 137.4 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1382, allocations: 4 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1382, allocations: 0 / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1382, allocations: 7.984 kB / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.1383, allocations: 16 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1383, allocations: 0.7031 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.1384, allocations: 11.98 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1384, allocations: 7.938 kB / 477 MB, free: 7.984 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 (13): * Single equations (assignments): 13 * 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.0001156/0.1385, allocations: 146.2 kB / 477.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.1385, allocations: 7.906 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.1386, allocations: 17.41 kB / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1386, allocations: 0 / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1386, allocations: 0 / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1386, allocations: 0 / 477.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1391, allocations: 456 kB / 477.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1392, allocations: 8.031 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.1392, allocations: 12 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1392, allocations: 0 / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1392, allocations: 7.984 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1392, allocations: 0 / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1392, allocations: 3.953 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1395, allocations: 232.9 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1396, allocations: 93 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1396, allocations: 4 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.1397, allocations: 4 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1397, allocations: 15.94 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1397, allocations: 4 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1399, allocations: 159.2 kB / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1399, allocations: 0 / 478.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1401, allocations: 28 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001527/0.1417, allocations: 1.179 MB / 479.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1419, allocations: 79.91 kB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1419, allocations: 0 / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.142, allocations: 43.92 kB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1423, allocations: 28.06 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.1435, allocations: 0.829 MB / 480.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1438, allocations: 0.7122 MB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.1438, allocations: 20.62 kB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.209e-05/0.1439, allocations: 39.41 kB / 481.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1439, allocations: 4 kB / 481.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.157, allocations: 3.344 MB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.1573, allocations: 219.9 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.004, allocations: 4 kB / 484.7 MB, free: 420 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat