Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.001257/0.001257, allocations: 182.9 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.898/1.898, 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.001202/0.001201, allocations: 90.86 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.2154/0.2154, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003524, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5481, allocations: 87.72 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5484, allocations: 76.27 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5634, allocations: 5.566 MB / 0.57 GB, free: 7.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5634, allocations: 0 / 0.57 GB, free: 7.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5634, allocations: 3.938 kB / 0.57 GB, free: 7.23 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.0004952/0.5639, allocations: 430.8 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.564, allocations: 12.03 kB / 0.5705 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.564, allocations: 34.55 kB / 0.5705 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.5641, allocations: 11.84 kB / 0.5705 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.5644, allocations: 229.2 kB / 0.5707 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5644, allocations: 4 kB / 0.5707 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.5644, allocations: 4 kB / 0.5707 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5645, allocations: 58.86 kB / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5646, allocations: 0 / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.5646, allocations: 0 / 0.5708 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.5646, allocations: 7.984 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.5647, allocations: 19.42 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.565, allocations: 304.5 kB / 0.5711 GB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.5652, allocations: 61.48 kB / 0.5712 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.5652, allocations: 3.984 kB / 0.5712 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.5654, allocations: 74.62 kB / 0.5712 GB, free: 5.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5654, allocations: 4 kB / 0.5712 GB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.5659, allocations: 185.8 kB / 0.5714 GB, free: 5.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.566, allocations: 55.41 kB / 0.5715 GB, free: 5.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.5662, allocations: 194.6 kB / 0.5716 GB, free: 5.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5662, allocations: 33.2 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.5663, allocations: 102.7 kB / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.5663, allocations: 27.33 kB / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5663, allocations: 3.438 kB / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5664, allocations: 322.4 kB / 0.5721 GB, free: 5.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.5665, allocations: 27.11 kB / 0.5721 GB, free: 5.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.107e-05/0.5666, allocations: 40.83 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.5666, allocations: 26.38 kB / 0.5722 GB, free: 4.957 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5667, allocations: 0 / 0.5722 GB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.5668, allocations: 107.4 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5669, allocations: 8 kB / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5669, allocations: 0 / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5669, allocations: 4.031 kB / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.567, allocations: 12 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.567, allocations: 11.94 kB / 0.5723 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.5671, allocations: 3.25 kB / 0.5723 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.5671, allocations: 4 kB / 0.5723 GB, free: 4.824 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 0.0001001/0.5672, allocations: 128.8 kB / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.5672, allocations: 11.91 kB / 0.5725 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.5675, allocations: 123.8 kB / 0.5726 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5675, allocations: 4 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5675, allocations: 0 / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5675, allocations: 7.953 kB / 0.5726 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.568, allocations: 417.2 kB / 0.573 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.568, allocations: 0 / 0.573 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.568, allocations: 19.92 kB / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5681, allocations: 0 / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5681, allocations: 5.188 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5681, allocations: 11.98 kB / 0.573 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5681, allocations: 0 / 0.573 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5684, allocations: 218.7 kB / 0.5733 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.5684, allocations: 96.06 kB / 0.5733 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.5685, allocations: 5.203 kB / 0.5733 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.5686, allocations: 11.75 kB / 0.5734 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.5686, allocations: 7.984 kB / 0.5734 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.5686, allocations: 8.312 kB / 0.5734 GB, free: 3.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.5688, allocations: 172 kB / 0.5735 GB, free: 3.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5688, allocations: 0 / 0.5735 GB, free: 3.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.569, allocations: 34.5 kB / 0.5736 GB, free: 3.582 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.001473/0.5705, allocations: 1.197 MB / 0.5747 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.5707, allocations: 71.52 kB / 0.5748 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5707, allocations: 0 / 0.5748 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.5708, allocations: 35.05 kB / 0.5748 GB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.5711, allocations: 19.98 kB / 0.5749 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.5724, allocations: 0.944 MB / 0.5758 GB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.5727, allocations: 0.7115 MB / 0.5765 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.5727, allocations: 20.53 kB / 0.5765 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.5728, allocations: 42.91 kB / 0.5765 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5728, allocations: 3.938 kB / 0.5765 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.5886, allocations: 3.236 MB / 0.5797 GB, free: 13.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.5889, allocations: 209.8 kB / 0.5799 GB, free: 13.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.153, allocations: 0 / 0.5799 GB, free: 13.2 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat