Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.0008594/0.0008594, allocations: 96.41 kB / 17 MB, free: 6.531 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.0008372/0.0008373, allocations: 182.2 kB / 17.88 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.371/1.371, allocations: 223.2 MB / 241.9 MB, free: 240 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.2232/0.2232, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002924, allocations: 14.59 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 61.91 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002054/0.1377, allocations: 1.418 MB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.139, allocations: 0.8076 MB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1391, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1395, allocations: 107.7 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1397, allocations: 75.72 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1399, allocations: 91.83 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1401, allocations: 99.67 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.1402, allocations: 11.98 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.1403, allocations: 47.77 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.1404, allocations: 51.83 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1404, allocations: 4 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1405, allocations: 55.97 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.1406, allocations: 23.86 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.876e-05/0.1407, allocations: 41.62 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1408, allocations: 100.1 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1408, allocations: 0 / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1408, allocations: 3.938 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1409, allocations: 0 / 474.6 MB, free: 10.68 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.0005427/0.1414, allocations: 425 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1415, allocations: 12.03 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.1415, allocations: 38.56 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.1416, allocations: 11.81 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1418, allocations: 215.5 kB / 475.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1418, allocations: 8 kB / 475.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1418, allocations: 11.94 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.142, allocations: 53.67 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.142, allocations: 0 / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.142, allocations: 8 kB / 475.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.142, allocations: 4 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.363e-05/0.1421, allocations: 23.98 kB / 475.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1425, allocations: 300.8 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1428, allocations: 66.48 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1428, allocations: 20.97 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1429, allocations: 8 kB / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.143, allocations: 63.39 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1431, allocations: 0 / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007485/0.1438, allocations: 249.4 kB / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1439, allocations: 55.34 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1441, allocations: 242.3 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1442, allocations: 29.7 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.1442, allocations: 112.1 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1443, allocations: 39.45 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.1443, allocations: 0 / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1444, allocations: 330.8 kB / 476.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.1445, allocations: 27.98 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.1446, allocations: 45.69 kB / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.1447, allocations: 36 kB / 477 MB, free: 8.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1447, allocations: 4 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002102/0.1449, allocations: 121.5 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1449, allocations: 7.938 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1449, allocations: 0 / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.145, allocations: 0 / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.145, allocations: 20 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1451, allocations: 3.984 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1451, allocations: 12.03 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1451, allocations: 0 / 477.1 MB, free: 7.891 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.0001384/0.1453, allocations: 142.2 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1453, allocations: 15.81 kB / 477.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1454, allocations: 29.33 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1454, allocations: 3.984 kB / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1454, allocations: 0 / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1454, allocations: 0 / 477.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1459, allocations: 459.9 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1459, allocations: 0 / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.146, allocations: 16 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.146, allocations: 4 kB / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.146, allocations: 0 / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.146, allocations: 0 / 477.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.146, allocations: 7.953 kB / 477.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.1464, allocations: 245.1 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.1464, allocations: 92.92 kB / 478.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1465, allocations: 7.984 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.1465, allocations: 0 / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1466, allocations: 15.94 kB / 478.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1466, allocations: 12 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1468, allocations: 180.3 kB / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1468, allocations: 0 / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.147, allocations: 32 kB / 478.4 MB, free: 6.543 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.001472/0.1485, allocations: 1.173 MB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1487, allocations: 75.91 kB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1487, allocations: 0 / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.1488, allocations: 39.92 kB / 479.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1492, allocations: 32.11 kB / 479.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1506, allocations: 0.8978 MB / 480.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1509, allocations: 0.716 MB / 481.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.151, allocations: 24.62 kB / 481.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.1511, allocations: 47.42 kB / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1511, allocations: 0 / 481.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.1666, allocations: 3.463 MB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.1668, allocations: 223.1 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.009, allocations: 3.938 kB / 485 MB, free: 48 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat