Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.002151/0.002151, allocations: 173.7 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.499/1.499, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.000915/0.000915, allocations: 93.94 kB / 281.6 MB, free: 5.316 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.2115/0.2115, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.316e-05, allocations: 8.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 61.92 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.5842, allocations: 88.55 MB / 0.5813 GB, free: 7.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.5845, allocations: 86.25 kB / 0.5813 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.5999, allocations: 5.843 MB / 0.587 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6, allocations: 0 / 0.587 GB, free: 1.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.6, allocations: 6.953 kB / 0.5871 GB, free: 1.844 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.0004456/0.6004, allocations: 415.3 kB / 0.5874 GB, free: 1.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6005, allocations: 16.73 kB / 0.5875 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.6005, allocations: 7.906 kB / 0.5875 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.6008, allocations: 238.2 kB / 0.5877 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.6009, allocations: 7.891 kB / 0.5877 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.6009, allocations: 4 kB / 0.5877 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.315e-05/0.601, allocations: 19.98 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.6011, allocations: 49.67 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6011, allocations: 0 / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.6011, allocations: 7.938 kB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6011, allocations: 3.938 kB / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.6016, allocations: 289.4 kB / 0.5881 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.6017, allocations: 46.64 kB / 0.5881 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.6017, allocations: 20.97 kB / 0.5881 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.6018, allocations: 0 / 0.5881 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.6019, allocations: 59.41 kB / 0.5882 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6019, allocations: 8 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004162/0.6023, allocations: 157.1 kB / 0.5883 GB, free: 372 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.6023, allocations: 51.41 kB / 0.5884 GB, free: 308 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.6026, allocations: 226.1 kB / 0.5886 GB, free: 72 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.6026, allocations: 25.7 kB / 0.5886 GB, free: 40 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.6027, allocations: 112.1 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.6027, allocations: 23.64 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.6027, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6028, allocations: 330.8 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.6029, allocations: 20 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.141e-05/0.6029, allocations: 29.72 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.603, allocations: 27.94 kB / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.603, allocations: 0 / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001368/0.6031, allocations: 93.44 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6032, allocations: 4 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6032, allocations: 0 / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6032, allocations: 12.02 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.6033, allocations: 12.19 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6033, allocations: 4 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.6034, allocations: 7.938 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.6034, allocations: 0 / 0.5893 GB, free: 15.35 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.085e-05/0.6034, allocations: 114.8 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001438/0.6036, allocations: 101.5 kB / 0.5895 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.6036, allocations: 15.81 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.6038, allocations: 115.9 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.6038, allocations: 4 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.6039, allocations: 96 / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.6039, allocations: 7.922 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.6043, allocations: 403.8 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6043, allocations: 0 / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.6043, allocations: 11.94 kB / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6044, allocations: 0 / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.6044, allocations: 8.031 kB / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6044, allocations: 0 / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6044, allocations: 0 / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.6046, allocations: 222 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.6047, allocations: 104.9 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.6047, allocations: 4 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.6048, allocations: 7.984 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.6048, allocations: 7.953 kB / 0.5904 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.6049, allocations: 4 kB / 0.5904 GB, free: 14.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.605, allocations: 200.2 kB / 0.5905 GB, free: 13.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.605, allocations: 0 / 0.5905 GB, free: 13.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.6053, allocations: 31.94 kB / 0.5906 GB, free: 13.91 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.001242/0.6065, allocations: 1.101 MB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.6067, allocations: 55.92 kB / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6067, allocations: 0 / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.6067, allocations: 24 kB / 0.5917 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.607, allocations: 27.72 kB / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.6076, allocations: 287.6 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.6079, allocations: 0.7211 MB / 0.5927 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.398e-05/0.608, allocations: 32.7 kB / 0.5928 GB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.6081, allocations: 39.42 kB / 0.5928 GB, free: 11.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6081, allocations: 0 / 0.5928 GB, free: 11.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.6288, allocations: 3.064 MB / 0.5958 GB, free: 8.555 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.629, allocations: 171.2 kB / 0.596 GB, free: 8.359 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.267, allocations: 0 / 0.596 GB, free: 8.359 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat