Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.001573/0.001573, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.757/1.757, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008261/0.000826, allocations: 89.02 kB / 267.1 MB, free: 9.277 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.4401/0.4401, allocations: 43.47 MB / 358.6 MB, free: 52.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.259e-05, allocations: 7.938 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1572, allocations: 58.86 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.6243, allocations: 87.62 MB / 0.5585 GB, free: 1.316 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.6245, allocations: 73.5 kB / 0.5586 GB, free: 1.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.6395, allocations: 5.686 MB / 0.5641 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6395, allocations: 0 / 0.5641 GB, free: 11.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.6395, allocations: 0 / 0.5641 GB, free: 11.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004982/0.64, allocations: 420.2 kB / 0.5645 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6401, allocations: 12.03 kB / 0.5645 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.6401, allocations: 30.56 kB / 0.5645 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.6402, allocations: 19.25 kB / 0.5646 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.6405, allocations: 222.8 kB / 0.5648 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.6406, allocations: 7.938 kB / 0.5648 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.6406, allocations: 4 kB / 0.5648 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.6407, allocations: 53.67 kB / 0.5648 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6407, allocations: 0 / 0.5648 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6408, allocations: 1.375 kB / 0.5648 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6408, allocations: 0 / 0.5648 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.6408, allocations: 23.98 kB / 0.5649 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.6413, allocations: 308.8 kB / 0.5652 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.6414, allocations: 59.31 kB / 0.5652 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.6415, allocations: 16.98 kB / 0.5652 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.6415, allocations: 0 / 0.5652 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.6416, allocations: 84.64 kB / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.6417, allocations: 0 / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004647/0.6421, allocations: 161.1 kB / 0.5655 GB, free: 10.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.6422, allocations: 59.41 kB / 0.5655 GB, free: 9.977 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.6424, allocations: 234.8 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6425, allocations: 29.7 kB / 0.5658 GB, free: 9.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.6426, allocations: 108.1 kB / 0.5659 GB, free: 9.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.6426, allocations: 27.66 kB / 0.5659 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.6426, allocations: 0 / 0.5659 GB, free: 9.566 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6427, allocations: 330.8 kB / 0.5662 GB, free: 9.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.6428, allocations: 27.92 kB / 0.5662 GB, free: 9.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.6429, allocations: 30.38 kB / 0.5663 GB, free: 9.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.6429, allocations: 23.98 kB / 0.5663 GB, free: 9.148 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.6429, allocations: 0 / 0.5663 GB, free: 9.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000153/0.6431, allocations: 106.1 kB / 0.5664 GB, free: 9.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6431, allocations: 4 kB / 0.5664 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6431, allocations: 4.188 kB / 0.5664 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6431, allocations: 0 / 0.5664 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.6432, allocations: 19.92 kB / 0.5664 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6433, allocations: 3.953 kB / 0.5664 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.6433, allocations: 4 kB / 0.5664 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.6433, allocations: 4 kB / 0.5664 GB, free: 9 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 (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.277e-05/0.6434, allocations: 109.5 kB / 0.5665 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.6434, allocations: 15.84 kB / 0.5666 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.6437, allocations: 127.3 kB / 0.5667 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6437, allocations: 0 / 0.5667 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6437, allocations: 0 / 0.5667 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6437, allocations: 11.92 kB / 0.5667 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.6442, allocations: 427.3 kB / 0.5671 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6442, allocations: 0 / 0.5671 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.6443, allocations: 15.97 kB / 0.5671 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6443, allocations: 3.984 kB / 0.5671 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.6443, allocations: 11.95 kB / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6443, allocations: 0 / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6443, allocations: 0 / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.6445, allocations: 217.9 kB / 0.5673 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.6446, allocations: 108.8 kB / 0.5674 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.6447, allocations: 7.953 kB / 0.5674 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.6448, allocations: 4 kB / 0.5675 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.6448, allocations: 11.97 kB / 0.5675 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.6448, allocations: 4 kB / 0.5675 GB, free: 7.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.645, allocations: 197.5 kB / 0.5677 GB, free: 7.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.645, allocations: 0 / 0.5677 GB, free: 7.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.6453, allocations: 39.94 kB / 0.5677 GB, free: 7.605 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 (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.00144/0.6468, allocations: 1.15 MB / 0.5688 GB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.6469, allocations: 52 kB / 0.5689 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6469, allocations: 0 / 0.5689 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.647, allocations: 35.92 kB / 0.5689 GB, free: 6.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.6473, allocations: 21 kB / 0.5689 GB, free: 6.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.6479, allocations: 292.5 kB / 0.5692 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6483, allocations: 0.7238 MB / 0.5699 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.6483, allocations: 20.84 kB / 0.5699 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.6484, allocations: 47.42 kB / 0.57 GB, free: 5.254 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6484, allocations: 0 / 0.57 GB, free: 5.254 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.6651, allocations: 3.443 MB / 0.5733 GB, free: 1.844 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.6654, allocations: 183.6 kB / 0.5735 GB, free: 1.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.474, allocations: 0 / 0.5735 GB, free: 1.621 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat