Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.002614/0.002614, allocations: 182.8 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.909/1.909, 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.001046/0.001046, allocations: 94.78 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.2439/0.2439, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 58.87 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4127/0.5329, allocations: 87.82 MB / 0.5646 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5332, allocations: 77.84 kB / 0.5647 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02085/0.554, allocations: 7.513 MB / 0.572 GB, free: 5.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5541, allocations: 0 / 0.572 GB, free: 5.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.536e-05/0.5541, allocations: 4 kB / 0.572 GB, free: 5.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007768/0.5549, allocations: 0.5099 MB / 0.5725 GB, free: 4.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.555, allocations: 16.03 kB / 0.5726 GB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.5551, allocations: 37.62 kB / 0.5726 GB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.5552, allocations: 27.7 kB / 0.5726 GB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.5557, allocations: 281.4 kB / 0.5729 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5557, allocations: 4 kB / 0.5729 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.5557, allocations: 4 kB / 0.5729 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.5559, allocations: 110.5 kB / 0.573 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.556, allocations: 4 kB / 0.573 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.556, allocations: 0 / 0.573 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.556, allocations: 3.938 kB / 0.573 GB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.5561, allocations: 43.66 kB / 0.573 GB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.5568, allocations: 458.3 kB / 0.5735 GB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.557, allocations: 127.7 kB / 0.5736 GB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.5571, allocations: 3.812 kB / 0.5736 GB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.5573, allocations: 114.5 kB / 0.5737 GB, free: 3.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.5573, allocations: 0 / 0.5737 GB, free: 3.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009577/0.5583, allocations: 368.6 kB / 0.5741 GB, free: 3.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.5583, allocations: 81.11 kB / 0.5741 GB, free: 3.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.5587, allocations: 323.4 kB / 0.5745 GB, free: 2.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.5587, allocations: 29.64 kB / 0.5745 GB, free: 2.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.5588, allocations: 138.2 kB / 0.5746 GB, free: 2.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.5589, allocations: 51.11 kB / 0.5747 GB, free: 2.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5589, allocations: 3.875 kB / 0.5747 GB, free: 2.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.559, allocations: 338.2 kB / 0.575 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.5591, allocations: 39.55 kB / 0.575 GB, free: 2.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.5592, allocations: 83.89 kB / 0.5751 GB, free: 2.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5593, allocations: 55.19 kB / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5593, allocations: 0 / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003172/0.5597, allocations: 176 kB / 0.5753 GB, free: 2.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.5597, allocations: 7.938 kB / 0.5753 GB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5597, allocations: 7.984 kB / 0.5753 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5597, allocations: 0 / 0.5753 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.5599, allocations: 39.86 kB / 0.5754 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5599, allocations: 0 / 0.5754 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.163e-05/0.56, allocations: 12.06 kB / 0.5754 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.56, allocations: 7.875 kB / 0.5754 GB, free: 2.121 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001438/0.5602, allocations: 157.4 kB / 0.5756 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.5602, allocations: 27.67 kB / 0.5756 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.5606, allocations: 212.6 kB / 0.5758 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5606, allocations: 4.188 kB / 0.5758 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5607, allocations: 0 / 0.5758 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5607, allocations: 11.92 kB / 0.5758 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.5615, allocations: 0.6635 MB / 0.5764 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5615, allocations: 0 / 0.5764 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.5616, allocations: 23.92 kB / 0.5765 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5616, allocations: 4 kB / 0.5765 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.5616, allocations: 4 kB / 0.5765 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.5616, allocations: 4.062 kB / 0.5765 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5616, allocations: 0 / 0.5765 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.562, allocations: 426.6 kB / 0.5769 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.5622, allocations: 112.8 kB / 0.577 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.5622, allocations: 7.938 kB / 0.577 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5624, allocations: 4 kB / 0.577 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.5624, allocations: 23.8 kB / 0.577 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5625, allocations: 8.562 kB / 0.577 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.5627, allocations: 255.5 kB / 0.5773 GB, free: 320 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5627, allocations: 4 kB / 0.5773 GB, free: 316 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000378/0.5631, allocations: 55.67 kB / 0.5773 GB, free: 268 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001756/0.5649, allocations: 1.519 MB / 0.5788 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.5652, allocations: 130.4 kB / 0.5789 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5652, allocations: 0 / 0.5789 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.5654, allocations: 65.47 kB / 0.579 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.5658, allocations: 53.27 kB / 0.5791 GB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.5682, allocations: 1.797 MB / 0.5808 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.5685, allocations: 0.7546 MB / 0.5815 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.5686, allocations: 42.14 kB / 0.5816 GB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5688, allocations: 76.91 kB / 0.5817 GB, free: 12.07 MB / 394.7 MB Notification: Performance of SimCode: time 3.516e-06/0.5688, allocations: 3.938 kB / 0.5817 GB, free: 12.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.5907, allocations: 5.121 MB / 0.5867 GB, free: 6.961 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/0.5911, allocations: 209.7 kB / 0.5869 GB, free: 6.719 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.478, allocations: 0 / 0.5869 GB, free: 6.719 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat