Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.0012/0.0012, allocations: 179.6 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.456/1.456, allocations: 221.4 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.0008251/0.0008252, allocations: 88.05 kB / 287 MB, free: 240 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.2078/0.2078, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.208e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1851, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5166/0.7017, allocations: 87.98 MB / 0.5877 GB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.702, allocations: 74.2 kB / 0.5878 GB, free: 1.195 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01/0.712, allocations: 3.688 MB / 0.5914 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.7121, allocations: 3.938 kB / 0.5914 GB, free: 13.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.7121, allocations: 4 kB / 0.5914 GB, free: 13.51 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.0004178/0.7125, allocations: 366.5 kB / 0.5917 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.7126, allocations: 8.031 kB / 0.5918 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.7127, allocations: 30.56 kB / 0.5918 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.7127, allocations: 7.906 kB / 0.5918 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.713, allocations: 198.8 kB / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.713, allocations: 0 / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.713, allocations: 3.953 kB / 0.592 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.7131, allocations: 45.69 kB / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.7132, allocations: 0 / 0.592 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7132, allocations: 8 kB / 0.592 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7132, allocations: 0 / 0.592 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.7133, allocations: 8 kB / 0.592 GB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.7137, allocations: 292.8 kB / 0.5923 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.7139, allocations: 42.52 kB / 0.5924 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.714, allocations: 12.86 kB / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.714, allocations: 96 / 0.5924 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.714, allocations: 38.55 kB / 0.5924 GB, free: 12.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.714, allocations: 0 / 0.5924 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003991/0.7144, allocations: 105.4 kB / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.7145, allocations: 55.41 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.7146, allocations: 134.8 kB / 0.5927 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7147, allocations: 25.7 kB / 0.5927 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.7147, allocations: 92.14 kB / 0.5928 GB, free: 11.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.7148, allocations: 19.7 kB / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.7148, allocations: 0 / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7149, allocations: 322.8 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.7149, allocations: 15.98 kB / 0.5931 GB, free: 11.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.715, allocations: 11.94 kB / 0.5932 GB, free: 11.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.048e-05/0.715, allocations: 16.19 kB / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.715, allocations: 0 / 0.5932 GB, free: 11.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.7151, allocations: 65.83 kB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.7151, allocations: 4 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7152, allocations: 7.984 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7152, allocations: 3.984 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.7152, allocations: 12 kB / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7153, allocations: 0 / 0.5933 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.7153, allocations: 15.98 kB / 0.5933 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.7153, allocations: 0 / 0.5933 GB, free: 11.36 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 8.213e-05/0.7154, allocations: 112.9 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.7155, allocations: 7.906 kB / 0.5934 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.7156, allocations: 89.59 kB / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7156, allocations: 0 / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7157, allocations: 0 / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7157, allocations: 0 / 0.5935 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.716, allocations: 342.5 kB / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.716, allocations: 0 / 0.5938 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.7161, allocations: 19.98 kB / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.7161, allocations: 0 / 0.5938 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.7161, allocations: 3.938 kB / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7161, allocations: 0 / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7161, allocations: 0 / 0.5938 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.7163, allocations: 175.4 kB / 0.594 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.7164, allocations: 77.11 kB / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.7164, allocations: 4.25 kB / 0.5941 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.7165, allocations: 19.92 kB / 0.5941 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.7165, allocations: 0 / 0.5941 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7165, allocations: 4 kB / 0.5941 GB, free: 10.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.7166, allocations: 110.1 kB / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7166, allocations: 0 / 0.5942 GB, free: 10.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.7168, allocations: 19.94 kB / 0.5942 GB, free: 10.29 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.001293/0.7181, allocations: 0.9631 MB / 0.5952 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.7183, allocations: 39.92 kB / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.7183, allocations: 0 / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.7183, allocations: 16 kB / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.7186, allocations: 19.98 kB / 0.5952 GB, free: 9.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.719, allocations: 166.5 kB / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7193, allocations: 0.6926 MB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.002e-05/0.7194, allocations: 12.17 kB / 0.5961 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.7194, allocations: 23.42 kB / 0.5961 GB, free: 8.387 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.7195, allocations: 4 kB / 0.5961 GB, free: 8.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.7325, allocations: 2.048 MB / 0.5981 GB, free: 6.414 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.7328, allocations: 189.9 kB / 0.5983 GB, free: 6.184 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.342, allocations: 0 / 0.5983 GB, free: 6.184 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat