Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.001635/0.001635, allocations: 179 kB / 14.15 MB, free: 1.176 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.663/1.663, allocations: 221.3 MB / 236 MB, free: 2.949 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.001052/0.001052, allocations: 87.72 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.17 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.47e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1785, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.673, allocations: 87.98 MB / 0.5877 GB, free: 1.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.6734, allocations: 71.97 kB / 0.5878 GB, free: 1.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01028/0.6837, allocations: 3.694 MB / 0.5914 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6837, allocations: 0 / 0.5914 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.6838, allocations: 4 kB / 0.5914 GB, free: 13.41 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005123/0.6843, allocations: 366.5 kB / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.6844, allocations: 8.031 kB / 0.5918 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.6844, allocations: 34.56 kB / 0.5918 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.6845, allocations: 3.906 kB / 0.5918 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.6847, allocations: 194.8 kB / 0.592 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.6847, allocations: 0 / 0.592 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.6848, allocations: 11.95 kB / 0.592 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.6849, allocations: 45.69 kB / 0.592 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.685, allocations: 0 / 0.592 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.685, allocations: 0 / 0.592 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.685, allocations: 0 / 0.592 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.685, allocations: 16 kB / 0.5921 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.6855, allocations: 288.8 kB / 0.5923 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.6858, allocations: 38.58 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.6858, allocations: 20.88 kB / 0.5924 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.6858, allocations: 0 / 0.5924 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.6859, allocations: 34.56 kB / 0.5924 GB, free: 12.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6859, allocations: 0 / 0.5924 GB, free: 12.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000446/0.6863, allocations: 113.4 kB / 0.5925 GB, free: 12.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.6864, allocations: 55.41 kB / 0.5926 GB, free: 12.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.6865, allocations: 132.6 kB / 0.5927 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.6866, allocations: 25.7 kB / 0.5927 GB, free: 11.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.6866, allocations: 96.12 kB / 0.5928 GB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.6867, allocations: 15.72 kB / 0.5928 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.6867, allocations: 0 / 0.5928 GB, free: 11.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6868, allocations: 318.8 kB / 0.5931 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.6868, allocations: 15.98 kB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.6869, allocations: 16 kB / 0.5932 GB, free: 11.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.687, allocations: 20.12 kB / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.687, allocations: 0 / 0.5932 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.6871, allocations: 69.67 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.6871, allocations: 5.094 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6871, allocations: 0 / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6871, allocations: 0 / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.6872, allocations: 12 kB / 0.5933 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6872, allocations: 0 / 0.5933 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.6873, allocations: 15.98 kB / 0.5933 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6873, allocations: 3.984 kB / 0.5933 GB, free: 11.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.629e-05/0.6874, allocations: 112.9 kB / 0.5934 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.6874, allocations: 7.906 kB / 0.5934 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.6876, allocations: 81.61 kB / 0.5935 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6876, allocations: 0 / 0.5935 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6876, allocations: 0 / 0.5935 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6876, allocations: 4 kB / 0.5935 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.688, allocations: 342.5 kB / 0.5938 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.688, allocations: 0 / 0.5938 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.688, allocations: 12 kB / 0.5938 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.688, allocations: 0 / 0.5938 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.6881, allocations: 4 kB / 0.5938 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6881, allocations: 3.938 kB / 0.5938 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6881, allocations: 0 / 0.5938 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.6882, allocations: 175.7 kB / 0.594 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.6883, allocations: 89.09 kB / 0.5941 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.6883, allocations: 0 / 0.5941 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.526e-05/0.6884, allocations: 7.984 kB / 0.5941 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.6885, allocations: 4 kB / 0.5941 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.6885, allocations: 0 / 0.5941 GB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.6886, allocations: 115.2 kB / 0.5942 GB, free: 10.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6886, allocations: 0 / 0.5942 GB, free: 10.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.6888, allocations: 23.94 kB / 0.5942 GB, free: 10.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001173/0.69, allocations: 0.9614 MB / 0.5952 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.6901, allocations: 31.94 kB / 0.5952 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6901, allocations: 0 / 0.5952 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.6901, allocations: 24 kB / 0.5952 GB, free: 9.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.6903, allocations: 11.98 kB / 0.5952 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.6908, allocations: 174.5 kB / 0.5954 GB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.6911, allocations: 0.6965 MB / 0.5961 GB, free: 8.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.985e-05/0.6911, allocations: 8.188 kB / 0.5961 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.6912, allocations: 23.42 kB / 0.5961 GB, free: 8.285 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6912, allocations: 4 kB / 0.5961 GB, free: 8.281 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.7047, allocations: 2.044 MB / 0.5981 GB, free: 6.316 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.7049, allocations: 190 kB / 0.5983 GB, free: 6.086 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.276, allocations: 0 / 0.5983 GB, free: 6.086 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat does not exist to compare? outputFormat=mat