Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001786/0.001785, allocations: 183.4 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.935/1.935, 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.0008105/0.0008106, allocations: 82.56 kB / 267 MB, free: 9.277 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.4126/0.4126, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.224e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1448, allocations: 58.84 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.545, allocations: 87.39 MB / 0.5582 GB, free: 1.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.5452, allocations: 75.95 kB / 0.5583 GB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.5566, allocations: 4.419 MB / 0.5626 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5566, allocations: 0 / 0.5626 GB, free: 13.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.5566, allocations: 0 / 0.5626 GB, free: 13.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004136/0.5571, allocations: 393.5 kB / 0.563 GB, free: 12.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5571, allocations: 12.03 kB / 0.563 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.5572, allocations: 34.56 kB / 0.563 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.5572, allocations: 11.89 kB / 0.5631 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.5574, allocations: 192.3 kB / 0.5632 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.5574, allocations: 0 / 0.5632 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.5575, allocations: 8 kB / 0.5632 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.5576, allocations: 64.75 kB / 0.5633 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5576, allocations: 4 kB / 0.5633 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.5576, allocations: 0 / 0.5633 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.5577, allocations: 4 kB / 0.5633 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.5577, allocations: 23.98 kB / 0.5633 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.5582, allocations: 312.7 kB / 0.5636 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.777e-05/0.5583, allocations: 53.45 kB / 0.5637 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.5583, allocations: 20.94 kB / 0.5637 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5583, allocations: 0 / 0.5637 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5584, allocations: 31.12 kB / 0.5637 GB, free: 11.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5584, allocations: 0 / 0.5637 GB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004977/0.5589, allocations: 157.2 kB / 0.5639 GB, free: 11.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5589, allocations: 85.11 kB / 0.564 GB, free: 11.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.5591, allocations: 129.2 kB / 0.5641 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5591, allocations: 25.7 kB / 0.5641 GB, free: 11.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.5591, allocations: 96.08 kB / 0.5642 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.5592, allocations: 23.61 kB / 0.5642 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.5592, allocations: 4.844 kB / 0.5642 GB, free: 11.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.5593, allocations: 318.8 kB / 0.5645 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.5593, allocations: 23.98 kB / 0.5646 GB, free: 10.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.5594, allocations: 29.72 kB / 0.5646 GB, free: 10.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.5594, allocations: 28.05 kB / 0.5646 GB, free: 10.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5594, allocations: 0 / 0.5646 GB, free: 10.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001336/0.5596, allocations: 90.39 kB / 0.5647 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5596, allocations: 4 kB / 0.5647 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.5596, allocations: 3.953 kB / 0.5647 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5596, allocations: 0.9375 kB / 0.5647 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.5598, allocations: 28.83 kB / 0.5647 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/0.5598, allocations: 0 / 0.5647 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.099e-05/0.5599, allocations: 23.89 kB / 0.5648 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5599, allocations: 0 / 0.5648 GB, free: 10.67 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 (7): * Single equations (assignments): 7 * 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 5.742e-05/0.56, allocations: 110.1 kB / 0.5649 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.56, allocations: 7.906 kB / 0.5649 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.5602, allocations: 111.1 kB / 0.565 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5602, allocations: 7.953 kB / 0.565 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5602, allocations: 0 / 0.565 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5602, allocations: 7.875 kB / 0.565 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.5606, allocations: 381.8 kB / 0.5654 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5607, allocations: 0 / 0.5654 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5608, allocations: 23.98 kB / 0.5654 GB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5608, allocations: 7.953 kB / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5608, allocations: 0 / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5608, allocations: 0 / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5608, allocations: 0 / 0.5654 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.561, allocations: 183.4 kB / 0.5656 GB, free: 9.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.5611, allocations: 89 kB / 0.5657 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.5611, allocations: 3.953 kB / 0.5657 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5612, allocations: 23.98 kB / 0.5657 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.5612, allocations: 3.984 kB / 0.5657 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.5613, allocations: 11.92 kB / 0.5657 GB, free: 9.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.5614, allocations: 104.7 kB / 0.5658 GB, free: 9.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5614, allocations: 0 / 0.5658 GB, free: 9.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.5616, allocations: 35.98 kB / 0.5658 GB, free: 9.488 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 (7): * Single equations (assignments): 7 * 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.001246/0.5629, allocations: 1.015 MB / 0.5668 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.563, allocations: 55.97 kB / 0.5669 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.563, allocations: 0 / 0.5669 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.5631, allocations: 36 kB / 0.5669 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.5633, allocations: 24.83 kB / 0.5669 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.5639, allocations: 194.3 kB / 0.5671 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5642, allocations: 0.6965 MB / 0.5678 GB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.5643, allocations: 28.64 kB / 0.5678 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.5643, allocations: 23.42 kB / 0.5678 GB, free: 7.418 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5643, allocations: 0 / 0.5678 GB, free: 7.418 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.5792, allocations: 2.611 MB / 0.5704 GB, free: 4.844 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.5794, allocations: 183.1 kB / 0.5706 GB, free: 4.621 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.193, allocations: 0 / 0.5706 GB, free: 4.621 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat does not exist to compare? outputFormat=mat