Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001714, allocations: 182.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 100.3 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4847/0.4847, allocations: 43.48 MB / 358.6 MB, free: 52.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.43e-05/5.443e-05, allocations: 7.984 kB / 425.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5287/0.6935, allocations: 86.33 MB / 0.5572 GB, free: 2.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.6938, allocations: 71.97 kB / 0.5573 GB, free: 2.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.7041, allocations: 3.912 MB / 0.5611 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7041, allocations: 0 / 0.5611 GB, free: 14.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.7041, allocations: 4 kB / 0.5611 GB, free: 14.64 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004387/0.7046, allocations: 382 kB / 0.5615 GB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.7047, allocations: 16.03 kB / 0.5615 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.7047, allocations: 34.56 kB / 0.5615 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.7048, allocations: 11.34 kB / 0.5615 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.7051, allocations: 192 kB / 0.5617 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.7051, allocations: 4 kB / 0.5617 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.7051, allocations: 7.938 kB / 0.5617 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7053, allocations: 53.62 kB / 0.5618 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.7053, allocations: 4 kB / 0.5618 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7053, allocations: 0 / 0.5618 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.7054, allocations: 1.375 kB / 0.5618 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/0.7054, allocations: 24 kB / 0.5618 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.706, allocations: 296.8 kB / 0.5621 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.7061, allocations: 54.5 kB / 0.5621 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.7061, allocations: 16.98 kB / 0.5622 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.7062, allocations: 0 / 0.5622 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7062, allocations: 34.56 kB / 0.5622 GB, free: 13.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.7062, allocations: 0 / 0.5622 GB, free: 13.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005133/0.7067, allocations: 138.6 kB / 0.5623 GB, free: 13.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7068, allocations: 51.41 kB / 0.5624 GB, free: 13.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.707, allocations: 145.1 kB / 0.5625 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.707, allocations: 29.7 kB / 0.5625 GB, free: 12.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.7071, allocations: 96.12 kB / 0.5626 GB, free: 12.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.7071, allocations: 35.62 kB / 0.5627 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.7071, allocations: 0 / 0.5627 GB, free: 12.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7073, allocations: 322.8 kB / 0.563 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.7073, allocations: 12 kB / 0.563 GB, free: 12.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.7074, allocations: 12 kB / 0.563 GB, free: 12.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.472e-05/0.7074, allocations: 23.98 kB / 0.563 GB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.7074, allocations: 0 / 0.563 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001338/0.7076, allocations: 82.33 kB / 0.5631 GB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.7076, allocations: 4 kB / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7076, allocations: 4.734 kB / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7077, allocations: 0 / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.7078, allocations: 23.94 kB / 0.5631 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.7078, allocations: 3.984 kB / 0.5631 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.7079, allocations: 9.125 kB / 0.5631 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.7079, allocations: 0 / 0.5631 GB, free: 12.36 MB / 394.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 (8): * Single equations (assignments): 8 * 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.017e-05/0.708, allocations: 105 kB / 0.5632 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.708, allocations: 19.78 kB / 0.5633 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.7082, allocations: 98.28 kB / 0.5633 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.7082, allocations: 7.922 kB / 0.5634 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7082, allocations: 3.953 kB / 0.5634 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7082, allocations: 0 / 0.5634 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.7086, allocations: 370.5 kB / 0.5637 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7087, allocations: 0 / 0.5637 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.7087, allocations: 27.92 kB / 0.5637 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7088, allocations: 0 / 0.5637 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.7088, allocations: 3.953 kB / 0.5637 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7088, allocations: 4 kB / 0.5637 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7088, allocations: 0 / 0.5637 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.709, allocations: 179.4 kB / 0.5639 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.709, allocations: 89 kB / 0.564 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.7091, allocations: 0 / 0.564 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.7091, allocations: 11.95 kB / 0.564 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.7092, allocations: 11.98 kB / 0.564 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.7092, allocations: 4 kB / 0.564 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.939e-05/0.7093, allocations: 119.2 kB / 0.5641 GB, free: 11.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7093, allocations: 0 / 0.5641 GB, free: 11.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.7096, allocations: 19.94 kB / 0.5642 GB, free: 11.21 MB / 394.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 (8): * Single equations (assignments): 8 * 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.001455/0.711, allocations: 0.9801 MB / 0.5651 GB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.7112, allocations: 47.98 kB / 0.5652 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7112, allocations: 0 / 0.5652 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.7113, allocations: 23.94 kB / 0.5652 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.7115, allocations: 20.95 kB / 0.5652 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.7122, allocations: 194.3 kB / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.7125, allocations: 0.6982 MB / 0.5661 GB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.427e-05/0.7126, allocations: 12.97 kB / 0.5661 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.7126, allocations: 31.42 kB / 0.5661 GB, free: 9.199 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.7126, allocations: 0 / 0.5661 GB, free: 9.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.7298, allocations: 2.246 MB / 0.5683 GB, free: 6.984 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.7301, allocations: 190.6 kB / 0.5685 GB, free: 6.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.467, allocations: 0 / 0.5685 GB, free: 6.754 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat does not exist to compare? outputFormat=mat