Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.001254/0.001255, 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.811/1.811, 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.0008314/0.0008314, 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.2116/0.2116, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002861, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.436, allocations: 87.71 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4363, allocations: 75.66 kB / 0.5646 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.4506, allocations: 5.428 MB / 0.5699 GB, free: 7.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4506, allocations: 0 / 0.5699 GB, free: 7.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4506, allocations: 4 kB / 0.5699 GB, free: 7.383 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.0004813/0.4511, allocations: 426.8 kB / 0.5703 GB, free: 6.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4512, allocations: 8.031 kB / 0.5703 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.4512, allocations: 42.3 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.4513, allocations: 15.81 kB / 0.5704 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.4515, allocations: 222.8 kB / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.4516, allocations: 0 / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4516, allocations: 4 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4517, allocations: 52.86 kB / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4517, allocations: 0 / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4517, allocations: 3.562 kB / 0.5706 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4517, allocations: 3.938 kB / 0.5706 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.4518, allocations: 27.53 kB / 0.5707 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.4522, allocations: 294.5 kB / 0.5709 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.4523, allocations: 57.48 kB / 0.571 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.4523, allocations: 0 / 0.571 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.4525, allocations: 81.98 kB / 0.5711 GB, free: 6.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4525, allocations: 4 kB / 0.5711 GB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004747/0.453, allocations: 177.3 kB / 0.5712 GB, free: 5.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.453, allocations: 55.41 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4532, allocations: 179.3 kB / 0.5715 GB, free: 5.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4532, allocations: 29.27 kB / 0.5715 GB, free: 5.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.4533, allocations: 105.9 kB / 0.5716 GB, free: 5.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.4533, allocations: 27.33 kB / 0.5716 GB, free: 5.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.4533, allocations: 0 / 0.5716 GB, free: 5.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.4534, allocations: 326.3 kB / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.4535, allocations: 15.25 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.4535, allocations: 40.2 kB / 0.572 GB, free: 5.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.4536, allocations: 27.28 kB / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4536, allocations: 0 / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.4538, allocations: 110 kB / 0.5721 GB, free: 5.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4538, allocations: 8.031 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4538, allocations: 3.984 kB / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.4538, allocations: 0 / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.4539, allocations: 16 kB / 0.5721 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4539, allocations: 7.891 kB / 0.5722 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.454, allocations: 4 kB / 0.5722 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.454, allocations: 3.984 kB / 0.5722 GB, free: 5.012 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 8.668e-05/0.4541, allocations: 129.1 kB / 0.5723 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.4541, allocations: 11.81 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.4544, allocations: 129.6 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4544, allocations: 7.984 kB / 0.5724 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4544, allocations: 0 / 0.5724 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4544, allocations: 3.953 kB / 0.5724 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.4549, allocations: 404.9 kB / 0.5728 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4549, allocations: 4 kB / 0.5728 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.455, allocations: 12.8 kB / 0.5728 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.455, allocations: 7.969 kB / 0.5728 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.455, allocations: 1.125 kB / 0.5728 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.455, allocations: 7.953 kB / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.455, allocations: 0 / 0.5729 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4553, allocations: 219.4 kB / 0.5731 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.4554, allocations: 99.12 kB / 0.5732 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4554, allocations: 5.391 kB / 0.5732 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.4555, allocations: 5 kB / 0.5732 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.4555, allocations: 9.047 kB / 0.5732 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.4556, allocations: 0.9375 kB / 0.5732 GB, free: 3.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.4557, allocations: 155.2 kB / 0.5733 GB, free: 3.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4557, allocations: 0 / 0.5733 GB, free: 3.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.456, allocations: 39.3 kB / 0.5734 GB, free: 3.785 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.001471/0.4575, allocations: 1.199 MB / 0.5745 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.4576, allocations: 62.41 kB / 0.5746 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4576, allocations: 0 / 0.5746 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.4577, allocations: 33.42 kB / 0.5746 GB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.458, allocations: 21.98 kB / 0.5746 GB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4591, allocations: 0.8979 MB / 0.5755 GB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4594, allocations: 0.7121 MB / 0.5762 GB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.4595, allocations: 16.66 kB / 0.5762 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.4595, allocations: 40.36 kB / 0.5763 GB, free: 0.918 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4595, allocations: 0 / 0.5763 GB, free: 0.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.4737, allocations: 3.081 MB / 0.5793 GB, free: 13.86 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.474, allocations: 209.8 kB / 0.5795 GB, free: 13.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.003, allocations: 0 / 0.5795 GB, free: 13.62 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat