Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.001408/0.001408, allocations: 183.4 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.776/1.776, 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.001002/0.001002, allocations: 86.59 kB / 267 MB, free: 9.293 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.4355/0.4355, allocations: 43.46 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.216e-05/5.218e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1518, allocations: 58.86 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6261, allocations: 87.61 MB / 0.5585 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.6263, allocations: 74.55 kB / 0.5585 GB, free: 16.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.641, allocations: 5.679 MB / 0.5641 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6411, allocations: 0 / 0.5641 GB, free: 13.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.6411, allocations: 0 / 0.5641 GB, free: 13.09 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.0004888/0.6416, allocations: 420.5 kB / 0.5645 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.6416, allocations: 12.03 kB / 0.5645 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.6417, allocations: 32.11 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.6418, allocations: 23.19 kB / 0.5646 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.6421, allocations: 222.6 kB / 0.5648 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.6421, allocations: 0 / 0.5648 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.6421, allocations: 4 kB / 0.5648 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.6422, allocations: 57.11 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6423, allocations: 0 / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6423, allocations: 1.375 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6423, allocations: 8 kB / 0.5648 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.9e-05/0.6424, allocations: 18.42 kB / 0.5649 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.6427, allocations: 315.2 kB / 0.5652 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.6429, allocations: 58.31 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.6429, allocations: 16.61 kB / 0.5652 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.6429, allocations: 7.938 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.6431, allocations: 70.86 kB / 0.5653 GB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.6431, allocations: 0 / 0.5653 GB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000441/0.6435, allocations: 163.4 kB / 0.5655 GB, free: 11.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.6436, allocations: 55.41 kB / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.6438, allocations: 231.9 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.6438, allocations: 33.64 kB / 0.5658 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.6439, allocations: 110.8 kB / 0.5659 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.6439, allocations: 27.52 kB / 0.5659 GB, free: 11.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.6439, allocations: 0 / 0.5659 GB, free: 11.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.644, allocations: 330.5 kB / 0.5662 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.6441, allocations: 15.94 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/0.6441, allocations: 43.3 kB / 0.5663 GB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.6442, allocations: 15.94 kB / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6442, allocations: 0 / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.6443, allocations: 113.5 kB / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6443, allocations: 4 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6444, allocations: 4 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6444, allocations: 0 / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.6445, allocations: 19.92 kB / 0.5664 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.6445, allocations: 3.953 kB / 0.5664 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.6445, allocations: 4 kB / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6446, allocations: 4 kB / 0.5664 GB, free: 10.74 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 6.742e-05/0.6446, allocations: 113.3 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.6447, allocations: 15.8 kB / 0.5666 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.6449, allocations: 126.2 kB / 0.5667 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6449, allocations: 1.312 kB / 0.5667 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6449, allocations: 0 / 0.5667 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6449, allocations: 3.953 kB / 0.5667 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.6453, allocations: 429.2 kB / 0.5671 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6453, allocations: 0 / 0.5671 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.6454, allocations: 12.03 kB / 0.5671 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6454, allocations: 0 / 0.5671 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.6454, allocations: 11.94 kB / 0.5671 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6454, allocations: 4.125 kB / 0.5671 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6454, allocations: 0 / 0.5671 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.6456, allocations: 233.5 kB / 0.5673 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.6457, allocations: 100.9 kB / 0.5674 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.6457, allocations: 15.88 kB / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.6458, allocations: 0 / 0.5674 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.6458, allocations: 7.984 kB / 0.5675 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.6458, allocations: 4 kB / 0.5675 GB, free: 9.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.646, allocations: 200 kB / 0.5676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.646, allocations: 0 / 0.5676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.6463, allocations: 39.75 kB / 0.5677 GB, free: 9.48 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.001264/0.6475, allocations: 1.139 MB / 0.5688 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.6477, allocations: 55.06 kB / 0.5689 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6477, allocations: 0 / 0.5689 GB, free: 8.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.6477, allocations: 31.75 kB / 0.5689 GB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.648, allocations: 28.86 kB / 0.5689 GB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.6486, allocations: 291.5 kB / 0.5692 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.6487, allocations: 0.716 MB / 0.5699 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.6488, allocations: 20.73 kB / 0.5699 GB, free: 7.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.6489, allocations: 50.03 kB / 0.57 GB, free: 7.242 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6489, allocations: 0 / 0.57 GB, free: 7.242 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.6654, allocations: 3.448 MB / 0.5733 GB, free: 3.828 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/0.6658, allocations: 187.6 kB / 0.5735 GB, free: 3.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.279, allocations: 0 / 0.5735 GB, free: 3.602 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat