Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.000835/0.0008353, allocations: 91.3 kB / 17 MB, free: 6.398 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.0008452/0.0008452, allocations: 180.2 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.394/1.394, allocations: 223.3 MB / 241.9 MB, free: 244 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.2532/0.2532, allocations: 44.21 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 17 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002399/0.1282, allocations: 1.554 MB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1298, allocations: 0.9128 MB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.1299, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.1303, allocations: 151.6 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1306, allocations: 119.6 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.131, allocations: 159.5 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1312, allocations: 195.4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1314, allocations: 25.66 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1315, allocations: 95.59 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1317, allocations: 107.6 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1317, allocations: 4 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1318, allocations: 51.97 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1319, allocations: 43.84 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.132, allocations: 53.58 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1322, allocations: 156 kB / 475.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1322, allocations: 3.938 kB / 475.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1322, allocations: 0 / 475.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1322, allocations: 0 / 475.3 MB, free: 9.977 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007131/0.1329, allocations: 0.5021 MB / 475.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.133, allocations: 8.031 kB / 475.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.133, allocations: 38.56 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1331, allocations: 23.72 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1334, allocations: 258.4 kB / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1334, allocations: 4 kB / 476.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1334, allocations: 15.89 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1337, allocations: 110.4 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1338, allocations: 4 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1338, allocations: 0 / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.1338, allocations: 4 kB / 476.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.1339, allocations: 47.95 kB / 476.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.1346, allocations: 460.7 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.135, allocations: 133.1 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1351, allocations: 45.83 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.1352, allocations: 0 / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.1355, allocations: 128.9 kB / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.1355, allocations: 0 / 477 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00143/0.1369, allocations: 480.5 kB / 477.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.137, allocations: 81.11 kB / 477.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.1374, allocations: 358.9 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1374, allocations: 29.7 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1375, allocations: 144.5 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.1376, allocations: 71.02 kB / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.1376, allocations: 8 kB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1378, allocations: 338.8 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1379, allocations: 55.97 kB / 478.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1381, allocations: 99.28 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1382, allocations: 64.05 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1382, allocations: 0 / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00036/0.1386, allocations: 225.1 kB / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1386, allocations: 8 kB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1386, allocations: 4.062 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1386, allocations: 4 kB / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1388, allocations: 39.92 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.1388, allocations: 11.94 kB / 479 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.1389, allocations: 8 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1389, allocations: 12 kB / 479 MB, free: 5.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001596/0.1391, allocations: 166.2 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1391, allocations: 31.56 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.1392, allocations: 37.73 kB / 479.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1392, allocations: 4 kB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1392, allocations: 0 / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1392, allocations: 7.953 kB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.1402, allocations: 0.7115 MB / 480 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1402, allocations: 7.938 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.1403, allocations: 31.98 kB / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1403, allocations: 0 / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1403, allocations: 4 kB / 480 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1403, allocations: 8.938 kB / 480 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.1403, allocations: 3.938 kB / 480 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.141, allocations: 416.9 kB / 480.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.1411, allocations: 108.7 kB / 480.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.1411, allocations: 8 kB / 480.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1413, allocations: 15.98 kB / 480.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1413, allocations: 19.92 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.1414, allocations: 12 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003806/0.1418, allocations: 257.9 kB / 480.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1418, allocations: 0 / 480.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.1422, allocations: 51.98 kB / 480.9 MB, free: 3.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002011/0.1442, allocations: 1.368 MB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1446, allocations: 160 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1446, allocations: 0 / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1448, allocations: 79.84 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1453, allocations: 53.06 kB / 482.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.1483, allocations: 1.484 MB / 484 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.1489, allocations: 0.756 MB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.1491, allocations: 41.92 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1492, allocations: 83.45 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1492, allocations: 0 / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.1668, allocations: 5.32 MB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.167, allocations: 213.9 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.047, allocations: 0 / 490.4 MB, free: 10.59 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat