Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001048/0.001048, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 230.7 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008887, allocations: 85.98 kB / 281.6 MB, free: 5.273 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.3026/0.3026, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.483e-05, allocations: 12.16 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.588, allocations: 88.56 MB / 0.5813 GB, free: 7.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.5882, allocations: 71.97 kB / 0.5813 GB, free: 7.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.6036, allocations: 5.605 MB / 0.5868 GB, free: 2.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6037, allocations: 0 / 0.5868 GB, free: 2.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.6037, allocations: 2.953 kB / 0.5868 GB, free: 2.258 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.0004957/0.6042, allocations: 408.7 kB / 0.5872 GB, free: 1.816 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6042, allocations: 15.98 kB / 0.5872 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.6043, allocations: 11.81 kB / 0.5872 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.6046, allocations: 208.1 kB / 0.5874 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.6046, allocations: 7.953 kB / 0.5874 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.6047, allocations: 0 / 0.5874 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.749e-05/0.6047, allocations: 27.92 kB / 0.5875 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.6048, allocations: 49.69 kB / 0.5875 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.6049, allocations: 0 / 0.5875 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6049, allocations: 11.86 kB / 0.5875 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6049, allocations: 0 / 0.5875 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.6053, allocations: 265.5 kB / 0.5878 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.6054, allocations: 50.69 kB / 0.5878 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.6055, allocations: 28.91 kB / 0.5878 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.6055, allocations: 4 kB / 0.5878 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.6056, allocations: 59.39 kB / 0.5879 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6056, allocations: 0 / 0.5879 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000444/0.6061, allocations: 157.1 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.6061, allocations: 51.41 kB / 0.5881 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.6063, allocations: 183.7 kB / 0.5883 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.6063, allocations: 29.7 kB / 0.5883 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.6064, allocations: 104.1 kB / 0.5884 GB, free: 436 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.6064, allocations: 23.66 kB / 0.5884 GB, free: 412 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.6064, allocations: 0 / 0.5884 GB, free: 412 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6066, allocations: 322.8 kB / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.6066, allocations: 16 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.6066, allocations: 37.7 kB / 0.5888 GB, free: 20 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.6067, allocations: 20.19 kB / 0.5888 GB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6067, allocations: 3.953 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.6069, allocations: 97.58 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6069, allocations: 4 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6069, allocations: 0 / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.6069, allocations: 0 / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.607, allocations: 16 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.607, allocations: 3.984 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.6071, allocations: 4.031 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6071, allocations: 4 kB / 0.5889 GB, free: 15.86 MB / 410.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 7.596e-05/0.6072, allocations: 115.3 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001416/0.6073, allocations: 101.4 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.6074, allocations: 7.906 kB / 0.5891 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.6076, allocations: 115.6 kB / 0.5893 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6076, allocations: 0 / 0.5893 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6076, allocations: 96 / 0.5893 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6076, allocations: 3.938 kB / 0.5893 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.608, allocations: 387.7 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.608, allocations: 3.938 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.6081, allocations: 12 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6081, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6081, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.6081, allocations: 4 kB / 0.5896 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6081, allocations: 0 / 0.5896 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.6083, allocations: 218.1 kB / 0.5899 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.6084, allocations: 92.91 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.6084, allocations: 8 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.6085, allocations: 0 / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.6085, allocations: 7.984 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.6085, allocations: 7.953 kB / 0.59 GB, free: 14.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.6087, allocations: 148 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6087, allocations: 0 / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.6089, allocations: 39.92 kB / 0.5901 GB, free: 14.51 MB / 410.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.001269/0.6102, allocations: 1.104 MB / 0.5912 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.6104, allocations: 48 kB / 0.5913 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6104, allocations: 0 / 0.5913 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.6104, allocations: 32.08 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.6107, allocations: 28.08 kB / 0.5913 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.6112, allocations: 234.9 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.6115, allocations: 0.712 MB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.6116, allocations: 12.42 kB / 0.5923 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.6117, allocations: 35.42 kB / 0.5923 GB, free: 12.3 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.6117, allocations: 0 / 0.5923 GB, free: 12.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.6392, allocations: 2.717 MB / 0.5949 GB, free: 9.598 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.6395, allocations: 167.7 kB / 0.5951 GB, free: 9.402 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.263, allocations: 0 / 0.5951 GB, free: 9.402 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat