Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.002228/0.002228, allocations: 185.2 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.864/1.864, 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.0009764/0.0009765, allocations: 90.81 kB / 270.2 MB, free: 13.37 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.2181/0.2181, allocations: 43.55 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1334, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.5156, allocations: 87.94 MB / 0.5647 GB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.5158, allocations: 76.03 kB / 0.5648 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.531, allocations: 5.97 MB / 0.5706 GB, free: 6.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5311, allocations: 0 / 0.5706 GB, free: 6.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.5311, allocations: 0 / 0.5706 GB, free: 6.988 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004528/0.5315, allocations: 411.7 kB / 0.571 GB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5316, allocations: 12.03 kB / 0.571 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.5316, allocations: 34.06 kB / 0.5711 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.5317, allocations: 7.906 kB / 0.5711 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.5319, allocations: 216.3 kB / 0.5713 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.532, allocations: 3.938 kB / 0.5713 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.532, allocations: 7.984 kB / 0.5713 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5321, allocations: 70.27 kB / 0.5714 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.5322, allocations: 7.844 kB / 0.5714 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5322, allocations: 0 / 0.5714 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5322, allocations: 0 / 0.5714 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.5323, allocations: 26.75 kB / 0.5714 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.5326, allocations: 285.8 kB / 0.5717 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.5328, allocations: 60.67 kB / 0.5717 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5328, allocations: 4 kB / 0.5717 GB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.533, allocations: 70.31 kB / 0.5718 GB, free: 5.688 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.533, allocations: 0 / 0.5718 GB, free: 5.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005358/0.5335, allocations: 169.8 kB / 0.572 GB, free: 5.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.5336, allocations: 89.05 kB / 0.572 GB, free: 5.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5337, allocations: 141.4 kB / 0.5722 GB, free: 5.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.5338, allocations: 25.7 kB / 0.5722 GB, free: 5.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.5338, allocations: 102.4 kB / 0.5723 GB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.5339, allocations: 19.09 kB / 0.5723 GB, free: 5.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5339, allocations: 0 / 0.5723 GB, free: 5.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.534, allocations: 325.6 kB / 0.5726 GB, free: 4.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.5341, allocations: 23.05 kB / 0.5727 GB, free: 4.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.5341, allocations: 40.94 kB / 0.5727 GB, free: 4.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.5342, allocations: 25.38 kB / 0.5727 GB, free: 4.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.5342, allocations: 0 / 0.5727 GB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.5344, allocations: 100.4 kB / 0.5728 GB, free: 4.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5344, allocations: 15.39 kB / 0.5728 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5344, allocations: 0 / 0.5728 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5345, allocations: 0 / 0.5728 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5346, allocations: 16.05 kB / 0.5728 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5346, allocations: 8 kB / 0.5729 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.5346, allocations: 7.281 kB / 0.5729 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.5347, allocations: 7.938 kB / 0.5729 GB, free: 4.648 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 (10): * Single equations (assignments): 10 * 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 8.39e-05/0.5347, allocations: 125.4 kB / 0.573 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.5348, allocations: 11.91 kB / 0.573 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.535, allocations: 120.7 kB / 0.5731 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.535, allocations: 8.031 kB / 0.5731 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.535, allocations: 7.938 kB / 0.5731 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.535, allocations: 0 / 0.5731 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.5355, allocations: 402.2 kB / 0.5735 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5355, allocations: 3.953 kB / 0.5735 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.5355, allocations: 12 kB / 0.5735 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5355, allocations: 0 / 0.5735 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5356, allocations: 3.984 kB / 0.5735 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5356, allocations: 4 kB / 0.5735 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5356, allocations: 4.031 kB / 0.5735 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.5358, allocations: 217.1 kB / 0.5737 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.5359, allocations: 96.53 kB / 0.5738 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5359, allocations: 4 kB / 0.5738 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.536, allocations: 8 kB / 0.5738 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.536, allocations: 15.73 kB / 0.5739 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.536, allocations: 0 / 0.5739 GB, free: 3.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.5361, allocations: 124.6 kB / 0.574 GB, free: 3.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5361, allocations: 0 / 0.574 GB, free: 3.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.5364, allocations: 35.55 kB / 0.574 GB, free: 3.473 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001455/0.5379, allocations: 1.231 MB / 0.5752 GB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.5381, allocations: 60.92 kB / 0.5753 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5381, allocations: 0 / 0.5753 GB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-05/0.5381, allocations: 31.55 kB / 0.5753 GB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5384, allocations: 31.19 kB / 0.5753 GB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.5395, allocations: 0.7987 MB / 0.5761 GB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.5397, allocations: 0.7004 MB / 0.5768 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.534e-05/0.5398, allocations: 20.83 kB / 0.5768 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.5399, allocations: 40.61 kB / 0.5769 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5399, allocations: 0 / 0.5769 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.5543, allocations: 3.075 MB / 0.5799 GB, free: 13.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.5545, allocations: 226.4 kB / 0.5801 GB, free: 13.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.116, allocations: 0 / 0.5801 GB, free: 13.32 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat