Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.001395/0.001395, allocations: 179.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.867/1.867, 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.0009692/0.0009692, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2268/0.2268, allocations: 43.55 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4065/0.5342, allocations: 87.71 MB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003891/0.5347, allocations: 75.41 kB / 0.5646 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.5537, allocations: 5.596 MB / 0.5701 GB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5537, allocations: 0 / 0.5701 GB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.5538, allocations: 4 kB / 0.5701 GB, free: 7.227 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.0006454/0.5544, allocations: 430.3 kB / 0.5705 GB, free: 6.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5545, allocations: 12.03 kB / 0.5705 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.5545, allocations: 34.25 kB / 0.5705 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.5546, allocations: 15.91 kB / 0.5705 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.5549, allocations: 230 kB / 0.5707 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5549, allocations: 7.938 kB / 0.5708 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.555, allocations: 0 / 0.5708 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5551, allocations: 53.11 kB / 0.5708 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5551, allocations: 7.984 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5552, allocations: 7.438 kB / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5552, allocations: 0 / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.5553, allocations: 23.61 kB / 0.5708 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.5557, allocations: 298.5 kB / 0.5711 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.5559, allocations: 64.98 kB / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.5559, allocations: 0 / 0.5712 GB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.5561, allocations: 70.27 kB / 0.5713 GB, free: 5.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.5561, allocations: 0 / 0.5713 GB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.5568, allocations: 188.2 kB / 0.5714 GB, free: 5.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.5568, allocations: 51.41 kB / 0.5715 GB, free: 5.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.557, allocations: 202 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.5571, allocations: 25.7 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.5571, allocations: 105.2 kB / 0.5718 GB, free: 5.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.5572, allocations: 27.41 kB / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.5572, allocations: 7.5 kB / 0.5718 GB, free: 5.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5573, allocations: 324.8 kB / 0.5721 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.5574, allocations: 23.86 kB / 0.5722 GB, free: 5.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.5575, allocations: 40.14 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.5575, allocations: 19.44 kB / 0.5722 GB, free: 4.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5575, allocations: 0 / 0.5722 GB, free: 4.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.5578, allocations: 113.7 kB / 0.5723 GB, free: 4.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5578, allocations: 7.438 kB / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5578, allocations: 0 / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5578, allocations: 0 / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.5579, allocations: 19.98 kB / 0.5724 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.558, allocations: 3.953 kB / 0.5724 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.558, allocations: 4 kB / 0.5724 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.558, allocations: 3.875 kB / 0.5724 GB, free: 4.832 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.0001168/0.5581, allocations: 129.4 kB / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.5582, allocations: 11.91 kB / 0.5725 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.5585, allocations: 123.8 kB / 0.5726 GB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5585, allocations: 4 kB / 0.5726 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5585, allocations: 3.984 kB / 0.5726 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5585, allocations: 4.328 kB / 0.5726 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.559, allocations: 416.9 kB / 0.573 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5591, allocations: 12.03 kB / 0.573 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.5591, allocations: 16.44 kB / 0.5731 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5591, allocations: 0 / 0.5731 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5592, allocations: 5.125 kB / 0.5731 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5592, allocations: 3.953 kB / 0.5731 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.5592, allocations: 0 / 0.5731 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.5594, allocations: 233.2 kB / 0.5733 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.5595, allocations: 91.64 kB / 0.5734 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.5596, allocations: 11.94 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.5596, allocations: 3 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.5597, allocations: 4 kB / 0.5734 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.5597, allocations: 7.984 kB / 0.5734 GB, free: 3.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.5599, allocations: 166.7 kB / 0.5736 GB, free: 3.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5599, allocations: 0 / 0.5736 GB, free: 3.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.5601, allocations: 39.36 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.001594/0.5617, allocations: 1.192 MB / 0.5748 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.562, allocations: 63.91 kB / 0.5748 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.562, allocations: 0 / 0.5748 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.5621, allocations: 34.23 kB / 0.5749 GB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.5624, allocations: 26.16 kB / 0.5749 GB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5638, allocations: 0.9434 MB / 0.5758 GB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5641, allocations: 0.7119 MB / 0.5765 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.5642, allocations: 24.78 kB / 0.5765 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.5643, allocations: 41.61 kB / 0.5766 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5643, allocations: 0 / 0.5766 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.5794, allocations: 3.225 MB / 0.5797 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.5796, allocations: 209.8 kB / 0.5799 GB, free: 13.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.149, allocations: 4 kB / 0.5799 GB, free: 13.21 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat