Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001384/0.001384, allocations: 180 kB / 15.76 MB, free: 6.367 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.508/1.508, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00104/0.00104, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2294/0.2294, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 58.87 MB / 490.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5895, allocations: 88.98 MB / 0.5657 GB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.5898, allocations: 72.41 kB / 0.5658 GB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.6127, allocations: 8.599 MB / 0.5742 GB, free: 3.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6127, allocations: 0 / 0.5742 GB, free: 3.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.268e-05/0.6128, allocations: 15.94 kB / 0.5742 GB, free: 3.266 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001056/0.6138, allocations: 0.6441 MB / 0.5749 GB, free: 2.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.6139, allocations: 8.031 kB / 0.5749 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/0.614, allocations: 47.05 kB / 0.5749 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.6141, allocations: 43.48 kB / 0.575 GB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.6148, allocations: 343.3 kB / 0.5753 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.6149, allocations: 11.5 kB / 0.5753 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.6149, allocations: 11.66 kB / 0.5753 GB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.6152, allocations: 120.2 kB / 0.5754 GB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.6152, allocations: 4 kB / 0.5754 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6152, allocations: 6.562 kB / 0.5754 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6153, allocations: 4 kB / 0.5754 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.6155, allocations: 91.12 kB / 0.5755 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.6164, allocations: 0.534 MB / 0.576 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.6166, allocations: 114.9 kB / 0.5761 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.6166, allocations: 224 / 0.5761 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6166, allocations: 42.44 kB / 0.5762 GB, free: 1.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.6166, allocations: 0 / 0.5762 GB, free: 1.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0011/0.6178, allocations: 450.5 kB / 0.5766 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.6178, allocations: 55.41 kB / 0.5767 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.6185, allocations: 0.5024 MB / 0.5772 GB, free: 476 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.6185, allocations: 33.2 kB / 0.5772 GB, free: 440 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.6186, allocations: 204.2 kB / 0.5774 GB, free: 308 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.6187, allocations: 50.98 kB / 0.5774 GB, free: 264 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.6187, allocations: 3.562 kB / 0.5774 GB, free: 264 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6189, allocations: 349.9 kB / 0.5778 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.619, allocations: 71.2 kB / 0.5778 GB, free: 15.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.6191, allocations: 79.27 kB / 0.5779 GB, free: 15.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.6193, allocations: 75.03 kB / 0.578 GB, free: 15.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.6193, allocations: 0 / 0.578 GB, free: 15.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003829/0.6197, allocations: 230.8 kB / 0.5782 GB, free: 15.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6197, allocations: 10.17 kB / 0.5782 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6197, allocations: 4 kB / 0.5782 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6197, allocations: 0 / 0.5782 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6199, allocations: 35.92 kB / 0.5783 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.6199, allocations: 0 / 0.5783 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.62, allocations: 19.73 kB / 0.5783 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.62, allocations: 7.953 kB / 0.5783 GB, free: 15.51 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001827/0.6202, allocations: 185 kB / 0.5785 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.6203, allocations: 43.44 kB / 0.5785 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004991/0.6208, allocations: 281 kB / 0.5788 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6208, allocations: 4 kB / 0.5788 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6208, allocations: 0 / 0.5788 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.6208, allocations: 3.984 kB / 0.5788 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.6219, allocations: 0.7492 MB / 0.5795 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6219, allocations: 0 / 0.5795 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.622, allocations: 31.98 kB / 0.5795 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.622, allocations: 4 kB / 0.5795 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.622, allocations: 7.938 kB / 0.5795 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.6221, allocations: 3.953 kB / 0.5796 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6221, allocations: 7.922 kB / 0.5796 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.6225, allocations: 335.8 kB / 0.5799 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.6227, allocations: 144.1 kB / 0.58 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.6227, allocations: 0 / 0.58 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.6228, allocations: 15.67 kB / 0.58 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.6229, allocations: 15.94 kB / 0.58 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6229, allocations: 8 kB / 0.5801 GB, free: 13.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004374/0.6234, allocations: 403.6 kB / 0.5804 GB, free: 13.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6234, allocations: 7.875 kB / 0.5804 GB, free: 13.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003395/0.6237, allocations: 71.38 kB / 0.5805 GB, free: 13.49 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.00227/0.626, allocations: 1.476 MB / 0.582 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.6264, allocations: 173.9 kB / 0.5821 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6264, allocations: 0 / 0.5821 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.6265, allocations: 95.14 kB / 0.5822 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.627, allocations: 72.44 kB / 0.5823 GB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.63, allocations: 2.083 MB / 0.5843 GB, free: 9.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.6305, allocations: 0.8287 MB / 0.5851 GB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001749/0.6307, allocations: 73.88 kB / 0.5852 GB, free: 9.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.6309, allocations: 123 kB / 0.5853 GB, free: 9.039 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6309, allocations: 0 / 0.5853 GB, free: 9.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.6513, allocations: 7.157 MB / 0.5923 GB, free: 1.883 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.6515, allocations: 212.6 kB / 0.5925 GB, free: 1.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.636, allocations: 3.938 kB / 0.5925 GB, free: 1.637 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat