Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.0008747/0.0008747, allocations: 99.27 kB / 17.01 MB, free: 6.395 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.001172/0.001172, allocations: 181 kB / 17.89 MB, free: 5.941 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.466/1.466, allocations: 223.3 MB / 241.9 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2424/0.2424, allocations: 44.21 MB / 337.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 12 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 61.93 MB / 471.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002057/0.1261, allocations: 1.464 MB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1275, allocations: 0.8855 MB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.1276, allocations: 3.938 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.1281, allocations: 291.4 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.1284, allocations: 191.5 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.1289, allocations: 143.5 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.1292, allocations: 203.4 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.1293, allocations: 13.55 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1295, allocations: 115.6 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1297, allocations: 159.5 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1297, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1298, allocations: 36 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.13, allocations: 131.6 kB / 475.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1301, allocations: 77.45 kB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1304, allocations: 275.7 kB / 475.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1304, allocations: 0 / 475.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1304, allocations: 0 / 475.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1304, allocations: 0 / 475.6 MB, free: 9.594 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.0009057/0.1313, allocations: 0.6593 MB / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1314, allocations: 8.031 kB / 476.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.1314, allocations: 38.56 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.1315, allocations: 51.34 kB / 476.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.1322, allocations: 423.1 kB / 476.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1322, allocations: 0 / 476.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1322, allocations: 7.953 kB / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1324, allocations: 83.36 kB / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1324, allocations: 0 / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1325, allocations: 0 / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1325, allocations: 4 kB / 476.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1326, allocations: 31.92 kB / 476.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.133, allocations: 370.3 kB / 477.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.1333, allocations: 113.2 kB / 477.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.1334, allocations: 37.7 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1334, allocations: 0 / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.1337, allocations: 124.8 kB / 477.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.103e-06/0.1337, allocations: 4 kB / 477.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004336/0.1342, allocations: 185.5 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.1342, allocations: 85.05 kB / 477.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.1354, allocations: 1.007 MB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1354, allocations: 29.7 kB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1357, allocations: 224.1 kB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.1357, allocations: 35.62 kB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1357, allocations: 0 / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1359, allocations: 366.8 kB / 479.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.136, allocations: 31.98 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.1361, allocations: 55.41 kB / 479.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.17e-05/0.1362, allocations: 32.06 kB / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1362, allocations: 0 / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.1365, allocations: 180.8 kB / 479.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1365, allocations: 4 kB / 479.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1365, allocations: 4 kB / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1365, allocations: 0 / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1367, allocations: 23.98 kB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1367, allocations: 0 / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-05/0.1368, allocations: 11.84 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1368, allocations: 4 kB / 479.8 MB, free: 5.137 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002496/0.1371, allocations: 230.3 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.1371, allocations: 47.39 kB / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1372, allocations: 59.84 kB / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1372, allocations: 0 / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1373, allocations: 0 / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1373, allocations: 0 / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.1376, allocations: 337.5 kB / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1376, allocations: 0 / 480.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1376, allocations: 4 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1377, allocations: 8 kB / 480.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1377, allocations: 3.953 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1377, allocations: 4 kB / 480.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1377, allocations: 3.984 kB / 480.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.138, allocations: 201.2 kB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.1383, allocations: 140.5 kB / 480.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.1383, allocations: 12.11 kB / 480.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.1384, allocations: 11.95 kB / 480.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1384, allocations: 7.984 kB / 480.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1385, allocations: 4 kB / 480.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009666/0.1394, allocations: 0.7565 MB / 481.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1395, allocations: 0 / 481.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1397, allocations: 47.89 kB / 481.7 MB, free: 3.18 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001522/0.1413, allocations: 1.037 MB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1415, allocations: 80.02 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1415, allocations: 0 / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1417, allocations: 48.3 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1421, allocations: 66.22 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.1464, allocations: 2.83 MB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.147, allocations: 0.8351 MB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1472, allocations: 50.95 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.1474, allocations: 147.4 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1475, allocations: 4 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.17, allocations: 7.879 MB / 494.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.1702, allocations: 225.8 kB / 494.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.098, allocations: 3.938 kB / 494.9 MB, free: 6.137 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat