Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2246/0.2246, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004179, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.557, allocations: 87.56 MB / 0.5644 GB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.5573, allocations: 78.64 kB / 0.5644 GB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.5717, allocations: 5.539 MB / 0.5698 GB, free: 7.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5718, allocations: 0 / 0.5698 GB, free: 7.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.5718, allocations: 0 / 0.5698 GB, free: 7.016 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005314/0.5724, allocations: 446.3 kB / 0.5703 GB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5724, allocations: 8.031 kB / 0.5703 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.5725, allocations: 30.56 kB / 0.5703 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.5725, allocations: 19.8 kB / 0.5703 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.5728, allocations: 226.1 kB / 0.5705 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.5729, allocations: 0 / 0.5705 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.5729, allocations: 4 kB / 0.5705 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.573, allocations: 48.42 kB / 0.5706 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.573, allocations: 0 / 0.5706 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.573, allocations: 0 / 0.5706 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.573, allocations: 4 kB / 0.5706 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.5731, allocations: 19.17 kB / 0.5706 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.5733, allocations: 197.9 kB / 0.5708 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.5735, allocations: 56.8 kB / 0.5709 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.5735, allocations: 0 / 0.5709 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.5736, allocations: 70.03 kB / 0.5709 GB, free: 5.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.5737, allocations: 0 / 0.5709 GB, free: 5.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002765/0.5739, allocations: 100.2 kB / 0.571 GB, free: 5.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.574, allocations: 59.09 kB / 0.5711 GB, free: 5.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.5743, allocations: 238.1 kB / 0.5713 GB, free: 5.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5743, allocations: 25.7 kB / 0.5713 GB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.5744, allocations: 110.1 kB / 0.5714 GB, free: 5.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.5744, allocations: 19.31 kB / 0.5715 GB, free: 5.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5744, allocations: 0 / 0.5715 GB, free: 5.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5746, allocations: 330.1 kB / 0.5718 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.5746, allocations: 11.56 kB / 0.5718 GB, free: 4.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.5747, allocations: 40.89 kB / 0.5718 GB, free: 4.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.5747, allocations: 23.38 kB / 0.5718 GB, free: 4.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5748, allocations: 0 / 0.5718 GB, free: 4.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001617/0.5749, allocations: 80.41 kB / 0.5719 GB, free: 4.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.575, allocations: 7.438 kB / 0.5719 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.575, allocations: 4 kB / 0.5719 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.575, allocations: 0 / 0.5719 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.5751, allocations: 19.95 kB / 0.5719 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.5751, allocations: 0 / 0.5719 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.5751, allocations: 11.47 kB / 0.572 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.5752, allocations: 4 kB / 0.572 GB, free: 4.789 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.0001321/0.5753, allocations: 136.8 kB / 0.5721 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.5753, allocations: 11.91 kB / 0.5721 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.5756, allocations: 104.4 kB / 0.5722 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5756, allocations: 0 / 0.5722 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5756, allocations: 8 kB / 0.5722 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5756, allocations: 0 / 0.5722 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.5758, allocations: 206.9 kB / 0.5724 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5758, allocations: 7.953 kB / 0.5724 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.5758, allocations: 4 kB / 0.5724 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5758, allocations: 3.984 kB / 0.5724 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.5759, allocations: 0 / 0.5724 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5759, allocations: 0 / 0.5724 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5759, allocations: 160 / 0.5724 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.5761, allocations: 118.7 kB / 0.5725 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.5762, allocations: 100.9 kB / 0.5726 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.5762, allocations: 7.688 kB / 0.5726 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.5763, allocations: 0 / 0.5726 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.5763, allocations: 8.125 kB / 0.5726 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.5763, allocations: 7.984 kB / 0.5727 GB, free: 4.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.5765, allocations: 198.8 kB / 0.5728 GB, free: 3.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.255e-06/0.5766, allocations: 0 / 0.5728 GB, free: 3.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.5768, allocations: 35.3 kB / 0.5729 GB, free: 3.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00131/0.5781, allocations: 0.9649 MB / 0.5738 GB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.5783, allocations: 41.8 kB / 0.5739 GB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5783, allocations: 0 / 0.5739 GB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.5784, allocations: 30.61 kB / 0.5739 GB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.5786, allocations: 22.61 kB / 0.5739 GB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.58, allocations: 0.9804 MB / 0.5749 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.5803, allocations: 0.716 MB / 0.5756 GB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.5804, allocations: 24 kB / 0.5756 GB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.5805, allocations: 39.67 kB / 0.5756 GB, free: 1.117 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.5805, allocations: 0 / 0.5756 GB, free: 1.117 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.5962, allocations: 3.148 MB / 0.5787 GB, free: 14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.5964, allocations: 217.6 kB / 0.5789 GB, free: 13.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.278, allocations: 0 / 0.5789 GB, free: 13.75 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat