Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001478/0.001478, allocations: 181.2 kB / 8.366 MB, free: 0.7109 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.113/2.113, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001589/0.00159, allocations: 82.55 kB / 262.1 MB, free: 13.86 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.4405/0.4405, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.437e-05/2.451e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4524, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.6872, allocations: 86.44 MB / 0.5504 GB, free: 12.75 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.6877, allocations: 71.95 kB / 0.5505 GB, free: 12.68 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04446/0.7321, allocations: 7.801 MB / 0.5581 GB, free: 4.867 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7322, allocations: 0 / 0.5581 GB, free: 4.867 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.462e-05/0.7323, allocations: 8 kB / 0.5581 GB, free: 4.859 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.00122/0.7335, allocations: 0.5566 MB / 0.5586 GB, free: 4.258 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.098e-05/0.7336, allocations: 8.031 kB / 0.5587 GB, free: 4.25 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.7338, allocations: 51.39 kB / 0.5587 GB, free: 4.199 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.7349, allocations: 331.8 kB / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.7349, allocations: 0 / 0.559 GB, free: 3.836 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.735, allocations: 4 kB / 0.559 GB, free: 3.832 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001678/0.7352, allocations: 15.98 kB / 0.559 GB, free: 3.816 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.7354, allocations: 57.69 kB / 0.5591 GB, free: 3.754 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.7354, allocations: 3.938 kB / 0.5591 GB, free: 3.75 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/0.7355, allocations: 0 / 0.5591 GB, free: 3.75 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.7355, allocations: 7.953 kB / 0.5591 GB, free: 3.742 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.737, allocations: 429.2 kB / 0.5595 GB, free: 3.285 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.7372, allocations: 38.52 kB / 0.5596 GB, free: 3.238 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.7373, allocations: 16.86 kB / 0.5596 GB, free: 3.219 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.7373, allocations: 4.078 kB / 0.5596 GB, free: 3.215 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.7374, allocations: 34.56 kB / 0.5596 GB, free: 3.172 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 3.587e-06/0.7374, allocations: 0 / 0.5596 GB, free: 3.172 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.001203/0.7386, allocations: 235.8 kB / 0.5598 GB, free: 2.934 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.7387, allocations: 51.41 kB / 0.5599 GB, free: 2.871 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.7415, allocations: 0.7629 MB / 0.5606 GB, free: 2.098 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.7416, allocations: 25.7 kB / 0.5606 GB, free: 2.066 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.7419, allocations: 230.6 kB / 0.5609 GB, free: 1.84 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.742, allocations: 15.72 kB / 0.5609 GB, free: 1.824 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.742, allocations: 0 / 0.5609 GB, free: 1.824 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.7423, allocations: 322.8 kB / 0.5612 GB, free: 1.5 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.725e-05/0.7424, allocations: 16 kB / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.7425, allocations: 20 kB / 0.5612 GB, free: 1.465 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.7426, allocations: 23.98 kB / 0.5612 GB, free: 1.441 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7426, allocations: 0 / 0.5612 GB, free: 1.441 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003276/0.743, allocations: 89.8 kB / 0.5613 GB, free: 1.348 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.743, allocations: 4 kB / 0.5613 GB, free: 1.344 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.743, allocations: 4 kB / 0.5613 GB, free: 1.34 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.7431, allocations: 3.953 kB / 0.5613 GB, free: 1.336 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.7434, allocations: 23.98 kB / 0.5614 GB, free: 1.312 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.7434, allocations: 0 / 0.5614 GB, free: 1.312 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.7438, allocations: 19.92 kB / 0.5614 GB, free: 1.293 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.7438, allocations: 0 / 0.5614 GB, free: 1.293 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 0.0001285/0.744, allocations: 105 kB / 0.5615 GB, free: 1.184 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004588/0.7445, allocations: 121.1 kB / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.7447, allocations: 43.39 kB / 0.5616 GB, free: 1.016 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005878/0.7453, allocations: 137.6 kB / 0.5618 GB, free: 0.875 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7453, allocations: 4 kB / 0.5618 GB, free: 0.8711 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7453, allocations: 0 / 0.5618 GB, free: 0.8711 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.7454, allocations: 0 / 0.5618 GB, free: 0.8711 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.7473, allocations: 0.581 MB / 0.5623 GB, free: 252 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7474, allocations: 3.953 kB / 0.5624 GB, free: 248 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.7477, allocations: 31.97 kB / 0.5624 GB, free: 216 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.7477, allocations: 3.984 kB / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.7478, allocations: 0 / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7478, allocations: 0 / 0.5624 GB, free: 212 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.7478, allocations: 4 kB / 0.5624 GB, free: 208 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005586/0.7484, allocations: 211 kB / 0.5626 GB, free: 15.98 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.7488, allocations: 168.5 kB / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.749, allocations: 0 / 0.5628 GB, free: 15.8 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.7493, allocations: 23.92 kB / 0.5628 GB, free: 15.77 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.7494, allocations: 0 / 0.5628 GB, free: 15.77 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.7494, allocations: 4 kB / 0.5628 GB, free: 15.77 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.7512, allocations: 0.612 MB / 0.5634 GB, free: 15.16 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.252e-06/0.7512, allocations: 0 / 0.5634 GB, free: 15.16 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0008977/0.7521, allocations: 59.98 kB / 0.5634 GB, free: 15.1 MB / 411.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.00256/0.7547, allocations: 0.9863 MB / 0.5644 GB, free: 14.14 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.7551, allocations: 55.91 kB / 0.5644 GB, free: 14.08 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7552, allocations: 0 / 0.5644 GB, free: 14.08 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.7553, allocations: 31.98 kB / 0.5645 GB, free: 14.05 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.756, allocations: 29.33 kB / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.7595, allocations: 0.8931 MB / 0.5654 GB, free: 13.09 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/0.7605, allocations: 0.8341 MB / 0.5662 GB, free: 12.23 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.761, allocations: 131.4 kB / 0.5663 GB, free: 12.1 MB / 411.1 MB Notification: Performance of SimCode: time 1.763e-06/0.761, allocations: 0 / 0.5663 GB, free: 12.1 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.417, allocations: 7.454 MB / 0.5736 GB, free: 4.633 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat