Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001001/0.001001, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.335/1.335, 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.000896/0.0008962, allocations: 94.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.2346/0.2346, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4928/0.6481, allocations: 87.68 MB / 0.5645 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00043/0.6487, allocations: 75.33 kB / 0.5646 GB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01671/0.6654, allocations: 5.246 MB / 0.5697 GB, free: 7.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.6655, allocations: 0 / 0.5697 GB, free: 7.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.6655, allocations: 0 / 0.5697 GB, free: 7.578 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.0006569/0.6662, allocations: 417.5 kB / 0.5701 GB, free: 7.129 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.6662, allocations: 16.02 kB / 0.5701 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.6663, allocations: 33.38 kB / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.6664, allocations: 7.906 kB / 0.5701 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.6667, allocations: 213.3 kB / 0.5703 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.6668, allocations: 11.12 kB / 0.5703 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.6668, allocations: 0 / 0.5703 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.667, allocations: 52.23 kB / 0.5704 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.667, allocations: 4 kB / 0.5704 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.667, allocations: 3.938 kB / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.667, allocations: 0 / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.6671, allocations: 26.03 kB / 0.5704 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.6676, allocations: 299.5 kB / 0.5707 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.6678, allocations: 61.73 kB / 0.5708 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.6679, allocations: 0 / 0.5708 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.6681, allocations: 62.52 kB / 0.5708 GB, free: 6.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.6681, allocations: 4 kB / 0.5708 GB, free: 6.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006383/0.6687, allocations: 177 kB / 0.571 GB, free: 6.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.6688, allocations: 51.41 kB / 0.5711 GB, free: 6.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.669, allocations: 164.9 kB / 0.5712 GB, free: 5.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.669, allocations: 29.7 kB / 0.5712 GB, free: 5.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.6691, allocations: 102.3 kB / 0.5713 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.6691, allocations: 22.59 kB / 0.5714 GB, free: 5.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.6691, allocations: 0 / 0.5714 GB, free: 5.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6693, allocations: 325.9 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.6694, allocations: 24.98 kB / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.6695, allocations: 40.2 kB / 0.5717 GB, free: 5.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.6696, allocations: 25.88 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6696, allocations: 0 / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.6698, allocations: 107.9 kB / 0.5719 GB, free: 5.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6698, allocations: 6.656 kB / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6698, allocations: 32 / 0.5719 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6698, allocations: 4 kB / 0.5719 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.6699, allocations: 19.98 kB / 0.5719 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.67, allocations: 3.953 kB / 0.5719 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.67, allocations: 3 kB / 0.5719 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.67, allocations: 4 kB / 0.5719 GB, free: 5.266 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.0001256/0.6702, allocations: 128.4 kB / 0.572 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.6702, allocations: 7.906 kB / 0.572 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.6705, allocations: 121.4 kB / 0.5721 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6705, allocations: 4 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6705, allocations: 0 / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6705, allocations: 3.953 kB / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.671, allocations: 409.2 kB / 0.5725 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.671, allocations: 384 / 0.5725 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.6711, allocations: 23.86 kB / 0.5726 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6711, allocations: 0 / 0.5726 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.6711, allocations: 11.47 kB / 0.5726 GB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6711, allocations: 3.953 kB / 0.5726 GB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6711, allocations: 4 kB / 0.5726 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.6714, allocations: 217.1 kB / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.6715, allocations: 91.12 kB / 0.5729 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.6715, allocations: 5.453 kB / 0.5729 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.6716, allocations: 9.25 kB / 0.5729 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6717, allocations: 8.734 kB / 0.5729 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.6717, allocations: 8.688 kB / 0.5729 GB, free: 4.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.6718, allocations: 132.3 kB / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6718, allocations: 0 / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.6722, allocations: 27.19 kB / 0.5731 GB, free: 4.066 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.001692/0.6739, allocations: 1.19 MB / 0.5742 GB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.6741, allocations: 64.59 kB / 0.5743 GB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6741, allocations: 0 / 0.5743 GB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.6742, allocations: 31.84 kB / 0.5743 GB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6745, allocations: 27.86 kB / 0.5743 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.6758, allocations: 0.8417 MB / 0.5752 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.6761, allocations: 0.7081 MB / 0.5759 GB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.546e-05/0.6762, allocations: 24.3 kB / 0.5759 GB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.6763, allocations: 34.61 kB / 0.5759 GB, free: 1.227 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6763, allocations: 0 / 0.5759 GB, free: 1.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.6932, allocations: 2.918 MB / 0.5788 GB, free: 14.33 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.6935, allocations: 213.7 kB / 0.579 GB, free: 14.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.41, allocations: 64 / 0.579 GB, free: 14.08 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat