Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001878/0.001878, allocations: 186.7 kB / 13.19 MB, free: 2.121 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.763/1.763, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.0008402/0.0008402, allocations: 85.56 kB / 267 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4642/0.4642, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.707e-05, allocations: 4 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 58.86 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/0.6566, allocations: 87.84 MB / 0.5587 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.6569, allocations: 75.75 kB / 0.5588 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.6738, allocations: 6.026 MB / 0.5647 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6739, allocations: 0 / 0.5647 GB, free: 12.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.6739, allocations: 0 / 0.5647 GB, free: 12.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005428/0.6744, allocations: 402.5 kB / 0.565 GB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.6745, allocations: 8.031 kB / 0.5651 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.6746, allocations: 36.11 kB / 0.5651 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.6746, allocations: 15.34 kB / 0.5651 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.6749, allocations: 210.2 kB / 0.5653 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.675, allocations: 8 kB / 0.5653 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.675, allocations: 11.92 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6752, allocations: 78.28 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6752, allocations: 0 / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6752, allocations: 1.375 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6752, allocations: 4 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.6753, allocations: 34.53 kB / 0.5654 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.6757, allocations: 301 kB / 0.5657 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.6758, allocations: 69.25 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.6759, allocations: 26.53 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.6759, allocations: 3.312 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.6761, allocations: 78.25 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.6761, allocations: 0 / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004654/0.6765, allocations: 176.3 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6766, allocations: 88.61 kB / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.6767, allocations: 146.3 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.6767, allocations: 29.08 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.6768, allocations: 102.4 kB / 0.5664 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.6768, allocations: 27.19 kB / 0.5664 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.6768, allocations: 6.344 kB / 0.5664 GB, free: 10.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.6769, allocations: 321.3 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.677, allocations: 26.55 kB / 0.5668 GB, free: 10.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.677, allocations: 43.95 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.6771, allocations: 26.73 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6771, allocations: 0 / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001522/0.6772, allocations: 121.4 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6773, allocations: 4 kB / 0.567 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6773, allocations: 3.938 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6773, allocations: 4 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.6774, allocations: 19.94 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.6774, allocations: 5.312 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.6775, allocations: 3.312 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6775, allocations: 4 kB / 0.567 GB, free: 10.1 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.174e-05/0.6775, allocations: 113.9 kB / 0.5671 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.6776, allocations: 7.906 kB / 0.5671 GB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.6778, allocations: 145.5 kB / 0.5673 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6778, allocations: 0 / 0.5673 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6778, allocations: 3.953 kB / 0.5673 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6778, allocations: 0 / 0.5673 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.6782, allocations: 431.3 kB / 0.5677 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.6782, allocations: 4.031 kB / 0.5677 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.6783, allocations: 22.5 kB / 0.5677 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6783, allocations: 0 / 0.5677 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6783, allocations: 7.953 kB / 0.5677 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6783, allocations: 0 / 0.5677 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6783, allocations: 3.984 kB / 0.5677 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.6785, allocations: 229.7 kB / 0.5679 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.6786, allocations: 100.6 kB / 0.568 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.6786, allocations: 0 / 0.568 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.6787, allocations: 11.12 kB / 0.568 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.6788, allocations: 12.2 kB / 0.568 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.6788, allocations: 7.375 kB / 0.568 GB, free: 9.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.963e-05/0.6789, allocations: 125.4 kB / 0.5682 GB, free: 8.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6789, allocations: 3.938 kB / 0.5682 GB, free: 8.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.6791, allocations: 43.55 kB / 0.5682 GB, free: 8.879 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * 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.001337/0.6805, allocations: 1.194 MB / 0.5694 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.6807, allocations: 81.23 kB / 0.5695 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6807, allocations: 0 / 0.5695 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.6807, allocations: 34.88 kB / 0.5695 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.681, allocations: 36.23 kB / 0.5695 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.6815, allocations: 219.1 kB / 0.5697 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.6817, allocations: 0.7004 MB / 0.5704 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.441e-05/0.6818, allocations: 24.88 kB / 0.5704 GB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.939e-05/0.6819, allocations: 33.86 kB / 0.5705 GB, free: 6.645 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6819, allocations: 3.938 kB / 0.5705 GB, free: 6.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.6981, allocations: 3.322 MB / 0.5737 GB, free: 3.348 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/0.6984, allocations: 188.2 kB / 0.5739 GB, free: 3.121 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.276, allocations: 0 / 0.5739 GB, free: 3.121 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat