Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30",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.002183/0.002183, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 98.81 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2936/0.2936, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.484e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4036, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5659, allocations: 86.08 MB / 0.5501 GB, free: 13.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5663, allocations: 75.95 kB / 0.5501 GB, free: 13.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.5846, allocations: 4.298 MB / 0.5543 GB, free: 8.746 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5847, allocations: 4 kB / 0.5543 GB, free: 8.742 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5847, allocations: 0 / 0.5543 GB, free: 8.742 MB / 395.1 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.0005177/0.5852, allocations: 394.3 kB / 0.5547 GB, free: 8.316 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.5853, allocations: 12.03 kB / 0.5547 GB, free: 8.305 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.5854, allocations: 15.8 kB / 0.5547 GB, free: 8.289 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.5857, allocations: 207.5 kB / 0.5549 GB, free: 8.043 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5857, allocations: 4 kB / 0.5549 GB, free: 8.039 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.5858, allocations: 0 / 0.5549 GB, free: 8.039 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.5859, allocations: 23.94 kB / 0.555 GB, free: 8.016 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.586, allocations: 41.69 kB / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.5861, allocations: 0 / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5861, allocations: 0 / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5861, allocations: 0 / 0.555 GB, free: 7.969 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.5866, allocations: 285.3 kB / 0.5553 GB, free: 7.652 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.5867, allocations: 34.58 kB / 0.5553 GB, free: 7.609 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.5867, allocations: 12.86 kB / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.5867, allocations: 4 kB / 0.5553 GB, free: 7.59 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5868, allocations: 30.56 kB / 0.5554 GB, free: 7.551 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.5868, allocations: 0 / 0.5554 GB, free: 7.551 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006392/0.5874, allocations: 149.3 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5875, allocations: 51.41 kB / 0.5555 GB, free: 7.336 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5878, allocations: 190.4 kB / 0.5557 GB, free: 7.137 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.5878, allocations: 25.7 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.5879, allocations: 166.6 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.588, allocations: 15.66 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.588, allocations: 0 / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5881, allocations: 327.4 kB / 0.5562 GB, free: 6.598 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.5882, allocations: 16 kB / 0.5563 GB, free: 6.582 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.5882, allocations: 12 kB / 0.5563 GB, free: 6.57 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.579e-05/0.5883, allocations: 16.22 kB / 0.5563 GB, free: 6.555 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5883, allocations: 0 / 0.5563 GB, free: 6.555 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.5885, allocations: 69.56 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5885, allocations: 8 kB / 0.5564 GB, free: 6.473 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5886, allocations: 0 / 0.5564 GB, free: 6.473 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.5886, allocations: 0 / 0.5564 GB, free: 6.473 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.5888, allocations: 23.98 kB / 0.5564 GB, free: 6.449 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5889, allocations: 7.953 kB / 0.5564 GB, free: 6.441 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.589, allocations: 11.98 kB / 0.5564 GB, free: 6.43 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.589, allocations: 4 kB / 0.5564 GB, free: 6.426 MB / 395.1 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 9.708e-05/0.5891, allocations: 105 kB / 0.5565 GB, free: 6.316 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002088/0.5894, allocations: 81.42 kB / 0.5566 GB, free: 6.23 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.5894, allocations: 7.906 kB / 0.5566 GB, free: 6.223 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.5897, allocations: 91.47 kB / 0.5567 GB, free: 6.133 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5897, allocations: 4 kB / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5897, allocations: 0 / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5897, allocations: 0 / 0.5567 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.5903, allocations: 354.9 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5903, allocations: 0 / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.5905, allocations: 23.98 kB / 0.557 GB, free: 5.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.5906, allocations: 11.95 kB / 0.557 GB, free: 5.703 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5906, allocations: 3.938 kB / 0.5571 GB, free: 5.699 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5906, allocations: 0 / 0.5571 GB, free: 5.699 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5906, allocations: 0 / 0.5571 GB, free: 5.699 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.5908, allocations: 167.5 kB / 0.5572 GB, free: 5.52 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.5909, allocations: 97.08 kB / 0.5573 GB, free: 5.406 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.591, allocations: 3.953 kB / 0.5573 GB, free: 5.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.5912, allocations: 19.98 kB / 0.5573 GB, free: 5.383 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.5912, allocations: 7.984 kB / 0.5573 GB, free: 5.375 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.5912, allocations: 0 / 0.5573 GB, free: 5.375 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.5914, allocations: 156.9 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5915, allocations: 0 / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.5918, allocations: 23.94 kB / 0.5575 GB, free: 5.199 MB / 395.1 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.001444/0.5933, allocations: 0.9377 MB / 0.5584 GB, free: 4.273 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.5935, allocations: 39.98 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5935, allocations: 0 / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.5936, allocations: 24 kB / 0.5585 GB, free: 4.211 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.594, allocations: 27.73 kB / 0.5585 GB, free: 4.184 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.5948, allocations: 255.7 kB / 0.5588 GB, free: 3.891 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.5951, allocations: 0.7119 MB / 0.5594 GB, free: 3.152 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.5953, allocations: 31.42 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5953, allocations: 4 kB / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.574/3.169, allocations: 2.32 MB / 0.5617 GB, free: 0.8086 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat does not exist to compare? outputFormat=mat