Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.001672/0.001673, allocations: 182.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.681/1.681, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001085/0.001085, allocations: 86.39 kB / 267.1 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.3861/0.3861, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.07e-05, allocations: 8 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5386, allocations: 87.61 MB / 0.5585 GB, free: 16.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.5389, allocations: 69.19 kB / 0.5585 GB, free: 16.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.5532, allocations: 5.494 MB / 0.5639 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5532, allocations: 0 / 0.5639 GB, free: 13.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5532, allocations: 7.281 kB / 0.5639 GB, free: 13.34 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.0003938/0.5536, allocations: 407.4 kB / 0.5643 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5537, allocations: 8.031 kB / 0.5643 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.5537, allocations: 30.56 kB / 0.5643 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.5538, allocations: 19.25 kB / 0.5644 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.554, allocations: 218.1 kB / 0.5646 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5541, allocations: 4 kB / 0.5646 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.5541, allocations: 0 / 0.5646 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.5542, allocations: 56.3 kB / 0.5646 GB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5542, allocations: 4 kB / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5542, allocations: 5 kB / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.5543, allocations: 0 / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.5543, allocations: 19.11 kB / 0.5647 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.5546, allocations: 295.3 kB / 0.5649 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.5548, allocations: 65.25 kB / 0.565 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.5548, allocations: 20.42 kB / 0.565 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5548, allocations: 0 / 0.565 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.5549, allocations: 73.23 kB / 0.5651 GB, free: 12.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.555, allocations: 0 / 0.5651 GB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004202/0.5554, allocations: 161.5 kB / 0.5652 GB, free: 11.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.5554, allocations: 55.41 kB / 0.5653 GB, free: 11.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5556, allocations: 196.5 kB / 0.5655 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.5556, allocations: 25.7 kB / 0.5655 GB, free: 11.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.5556, allocations: 107.1 kB / 0.5656 GB, free: 11.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.5557, allocations: 18.66 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.5557, allocations: 3.312 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.796e-05/0.5557, allocations: 329 kB / 0.5659 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/0.5558, allocations: 22.75 kB / 0.566 GB, free: 11.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.5558, allocations: 34.94 kB / 0.566 GB, free: 11.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.5559, allocations: 22.8 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5559, allocations: 0 / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001245/0.556, allocations: 104 kB / 0.5661 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.556, allocations: 4 kB / 0.5661 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.556, allocations: 4 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5561, allocations: 0 / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.5562, allocations: 15.98 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5562, allocations: 3.953 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.5562, allocations: 11.97 kB / 0.5662 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.5562, allocations: 4 kB / 0.5662 GB, free: 11.02 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 5.68e-05/0.5563, allocations: 104.3 kB / 0.5663 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.5563, allocations: 19.88 kB / 0.5663 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5565, allocations: 113.7 kB / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5566, allocations: 1.312 kB / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5566, allocations: 3.984 kB / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5566, allocations: 7.953 kB / 0.5664 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.5569, allocations: 418.5 kB / 0.5668 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5569, allocations: 0 / 0.5668 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.557, allocations: 15.92 kB / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.557, allocations: 0 / 0.5668 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.557, allocations: 11.89 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.557, allocations: 3.938 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.557, allocations: 0 / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.5572, allocations: 217.4 kB / 0.567 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.5573, allocations: 100.8 kB / 0.5671 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.5573, allocations: 3.953 kB / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.5574, allocations: 4.188 kB / 0.5671 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.5574, allocations: 7.984 kB / 0.5672 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5574, allocations: 11.5 kB / 0.5672 GB, free: 9.984 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.5575, allocations: 165.3 kB / 0.5673 GB, free: 9.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5575, allocations: 0 / 0.5673 GB, free: 9.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.5578, allocations: 31.69 kB / 0.5674 GB, free: 9.82 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.001145/0.5589, allocations: 1.145 MB / 0.5685 GB, free: 8.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.5591, allocations: 54.42 kB / 0.5685 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5591, allocations: 0 / 0.5685 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.5592, allocations: 35.36 kB / 0.5686 GB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.5595, allocations: 31.25 kB / 0.5686 GB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.5599, allocations: 246 kB / 0.5688 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.5601, allocations: 0.7157 MB / 0.5695 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.021e-05/0.5601, allocations: 14.03 kB / 0.5695 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.5602, allocations: 38.11 kB / 0.5696 GB, free: 7.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5602, allocations: 0 / 0.5696 GB, free: 7.629 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.5738, allocations: 3.153 MB / 0.5726 GB, free: 4.508 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001275/0.5739, allocations: 179.6 kB / 0.5728 GB, free: 4.289 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.275, allocations: 0 / 0.5728 GB, free: 4.289 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat