Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",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.002198/0.002197, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.281/2.281, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001107/0.001107, allocations: 99.38 kB / 270.9 MB, free: 8.395 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.585/0.585, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007492/0.0007493, allocations: 15.98 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1616, allocations: 58.85 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5287/0.6903, allocations: 86.68 MB / 0.5635 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.6907, allocations: 70.12 kB / 0.5635 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0297/0.7204, allocations: 7.811 MB / 0.5712 GB, free: 7.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7204, allocations: 0 / 0.5712 GB, free: 7.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.7205, allocations: 7.984 kB / 0.5712 GB, free: 7.887 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001021/0.7215, allocations: 0.6395 MB / 0.5718 GB, free: 7.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.7216, allocations: 11.59 kB / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/0.7216, allocations: 34.56 kB / 0.5718 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.7218, allocations: 47.42 kB / 0.5719 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.7225, allocations: 319.4 kB / 0.5722 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.7225, allocations: 4 kB / 0.5722 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.7225, allocations: 4 kB / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.7228, allocations: 53.03 kB / 0.5722 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.7228, allocations: 0 / 0.5722 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.7228, allocations: 0 / 0.5722 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.7228, allocations: 11.95 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.7231, allocations: 39.91 kB / 0.5723 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/0.7239, allocations: 428.7 kB / 0.5727 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.7241, allocations: 46.56 kB / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.7242, allocations: 4 kB / 0.5728 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.7242, allocations: 30.56 kB / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.7242, allocations: 0 / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005714/0.7248, allocations: 137.2 kB / 0.5729 GB, free: 5.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.7249, allocations: 51.41 kB / 0.573 GB, free: 5.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.7269, allocations: 0.7784 MB / 0.5737 GB, free: 5.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.727, allocations: 25.7 kB / 0.5737 GB, free: 5.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.7272, allocations: 230.6 kB / 0.574 GB, free: 4.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.7272, allocations: 15.81 kB / 0.574 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.7273, allocations: 4.547 kB / 0.574 GB, free: 4.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7274, allocations: 314.8 kB / 0.5743 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.7276, allocations: 19.98 kB / 0.5743 GB, free: 4.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.7277, allocations: 15.98 kB / 0.5743 GB, free: 4.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.7278, allocations: 23.98 kB / 0.5743 GB, free: 4.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7278, allocations: 0.5469 kB / 0.5743 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003108/0.7282, allocations: 73.61 kB / 0.5744 GB, free: 4.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7282, allocations: 4 kB / 0.5744 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7282, allocations: 3.984 kB / 0.5744 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.7282, allocations: 3.953 kB / 0.5744 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.7284, allocations: 19.94 kB / 0.5744 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7284, allocations: 0 / 0.5744 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.7286, allocations: 7.984 kB / 0.5745 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7286, allocations: 0 / 0.5745 GB, free: 4.316 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 (3): * Single equations (assignments): 3 * 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.0003614/0.729, allocations: 213.8 kB / 0.5747 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7291, allocations: 43.44 kB / 0.5747 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.7296, allocations: 133.7 kB / 0.5748 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7296, allocations: 384 / 0.5748 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.7296, allocations: 3.953 kB / 0.5748 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7296, allocations: 4 kB / 0.5748 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.7301, allocations: 322.3 kB / 0.5751 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7302, allocations: 0 / 0.5751 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.7303, allocations: 19.98 kB / 0.5752 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.7303, allocations: 3.984 kB / 0.5752 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.7303, allocations: 3.938 kB / 0.5752 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.7303, allocations: 4 kB / 0.5752 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7303, allocations: 0 / 0.5752 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.7308, allocations: 207 kB / 0.5754 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.7311, allocations: 164.5 kB / 0.5755 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.7312, allocations: 4 kB / 0.5755 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.7313, allocations: 11.92 kB / 0.5755 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.7314, allocations: 0 / 0.5755 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.7314, allocations: 8 kB / 0.5755 GB, free: 3.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001251/0.7327, allocations: 0.6354 MB / 0.5762 GB, free: 2.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7327, allocations: 0 / 0.5762 GB, free: 2.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004762/0.7332, allocations: 63.98 kB / 0.5762 GB, free: 2.395 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 (3): * Single equations (assignments): 3 * 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.001814/0.735, allocations: 0.9897 MB / 0.5772 GB, free: 1.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.7354, allocations: 51.91 kB / 0.5772 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7354, allocations: 0 / 0.5772 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.7355, allocations: 23.98 kB / 0.5773 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.736, allocations: 21.95 kB / 0.5773 GB, free: 1.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.7409, allocations: 2.294 MB / 0.5795 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.7416, allocations: 0.8262 MB / 0.5803 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.7419, allocations: 119.4 kB / 0.5805 GB, free: 14.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7419, allocations: 0 / 0.5805 GB, free: 14.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.785/3.527, allocations: 6.988 MB / 0.5873 GB, free: 7.051 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat does not exist to compare? outputFormat=mat