Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001197, allocations: 175.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009711, allocations: 92.19 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3732/0.3732, allocations: 44.22 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003344, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3582, allocations: 61.89 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.4678, allocations: 89.3 MB / 0.5969 GB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.468, allocations: 87.91 kB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.4835, allocations: 5.582 MB / 0.6024 GB, free: 164 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.4836, allocations: 3.938 kB / 0.6024 GB, free: 160 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.4836, allocations: 4 kB / 0.6024 GB, free: 156 kB / 410.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.0005392/0.4842, allocations: 422.9 kB / 0.6028 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4842, allocations: 8.031 kB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.4843, allocations: 38.5 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.4843, allocations: 11.84 kB / 0.6029 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.4846, allocations: 215.9 kB / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4847, allocations: 7.953 kB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4847, allocations: 0 / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.4848, allocations: 53.67 kB / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4849, allocations: 0 / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.4849, allocations: 11.98 kB / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4849, allocations: 0 / 0.6031 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.32e-05/0.485, allocations: 23.92 kB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.4854, allocations: 288.9 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4856, allocations: 58.67 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.4856, allocations: 7.938 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.4858, allocations: 75.45 kB / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4858, allocations: 0 / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.4864, allocations: 169.2 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.4864, allocations: 51.41 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.4866, allocations: 175.1 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4866, allocations: 25.7 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.4867, allocations: 108.1 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.4868, allocations: 23.66 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.4868, allocations: 0 / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4869, allocations: 331 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.487, allocations: 15.98 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.4871, allocations: 37.7 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.4872, allocations: 31.98 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4872, allocations: 0 / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.4874, allocations: 105.4 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4874, allocations: 4 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4874, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4874, allocations: 0 / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.4875, allocations: 23.98 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4875, allocations: 0 / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.4876, allocations: 4 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.4876, allocations: 7.875 kB / 0.6046 GB, free: 13.64 MB / 426.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 9.619e-05/0.4877, allocations: 138.3 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.4877, allocations: 7.906 kB / 0.6048 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.488, allocations: 118.3 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.488, allocations: 3.984 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.488, allocations: 0 / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.488, allocations: 0 / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4885, allocations: 419.2 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4885, allocations: 288 / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.4885, allocations: 15.98 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.4885, allocations: 0 / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4885, allocations: 3.938 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4886, allocations: 4 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4886, allocations: 0 / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.4888, allocations: 229.9 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.4889, allocations: 89.02 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4889, allocations: 4 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.489, allocations: 3.984 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.489, allocations: 12.33 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.489, allocations: 4 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.4892, allocations: 148 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4892, allocations: 4 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000267/0.4894, allocations: 35.92 kB / 0.6058 GB, free: 12.3 MB / 426.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.001352/0.4908, allocations: 1.19 MB / 0.607 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.491, allocations: 67.84 kB / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.491, allocations: 0 / 0.607 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.4911, allocations: 27.98 kB / 0.6071 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4914, allocations: 42.23 kB / 0.6071 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.4925, allocations: 0.8683 MB / 0.608 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.4928, allocations: 0.7081 MB / 0.6086 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.4928, allocations: 16.56 kB / 0.6087 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.4929, allocations: 35.42 kB / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4929, allocations: 0 / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.5068, allocations: 2.999 MB / 0.6116 GB, free: 6.559 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.507, allocations: 222.1 kB / 0.6118 GB, free: 6.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.114, allocations: 0 / 0.6118 GB, free: 6.305 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat