Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.3 MB / 236 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 95.98 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.988e-05/4.99e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1668, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.6182, allocations: 88.87 MB / 0.5886 GB, free: 380 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.6185, allocations: 75.95 kB / 0.5887 GB, free: 304 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.6362, allocations: 7.939 MB / 0.5964 GB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.6362, allocations: 3.938 kB / 0.5964 GB, free: 8.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.6363, allocations: 4 kB / 0.5964 GB, free: 8.352 MB / 410.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.0005673/0.6368, allocations: 0.552 MB / 0.597 GB, free: 7.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6369, allocations: 8.031 kB / 0.597 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.6369, allocations: 30.56 kB / 0.597 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.637, allocations: 47.42 kB / 0.597 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.6375, allocations: 343.1 kB / 0.5974 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.6375, allocations: 0 / 0.5974 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.6376, allocations: 4 kB / 0.5974 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.6377, allocations: 53.69 kB / 0.5974 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6377, allocations: 0 / 0.5974 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.6377, allocations: 0 / 0.5974 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6377, allocations: 0 / 0.5974 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.6378, allocations: 27.98 kB / 0.5975 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.6385, allocations: 448.6 kB / 0.5979 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.6387, allocations: 42.56 kB / 0.5979 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.6387, allocations: 12.86 kB / 0.5979 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.6388, allocations: 0 / 0.5979 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.6388, allocations: 34.56 kB / 0.598 GB, free: 6.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.6388, allocations: 0 / 0.598 GB, free: 6.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005025/0.6393, allocations: 200 kB / 0.5982 GB, free: 6.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.6394, allocations: 55.41 kB / 0.5982 GB, free: 6.324 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.6406, allocations: 0.7811 MB / 0.599 GB, free: 5.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.6406, allocations: 29.7 kB / 0.599 GB, free: 5.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.6408, allocations: 216.1 kB / 0.5992 GB, free: 5.289 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.6408, allocations: 23.73 kB / 0.5992 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.6408, allocations: 0 / 0.5992 GB, free: 5.266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.641, allocations: 358.8 kB / 0.5996 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.641, allocations: 15.94 kB / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.6411, allocations: 16 kB / 0.5996 GB, free: 4.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.6411, allocations: 15.98 kB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.6411, allocations: 0 / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001416/0.6413, allocations: 109.3 kB / 0.5997 GB, free: 4.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6413, allocations: 4 kB / 0.5997 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6413, allocations: 0 / 0.5997 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6413, allocations: 0 / 0.5997 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.6414, allocations: 15.98 kB / 0.5997 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6414, allocations: 3.953 kB / 0.5997 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.6415, allocations: 12 kB / 0.5998 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.6415, allocations: 3.938 kB / 0.5998 GB, free: 4.707 MB / 410.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 (5): * Single equations (assignments): 5 * 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 7.751e-05/0.6416, allocations: 108.9 kB / 0.5999 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.6417, allocations: 47.44 kB / 0.5999 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.6419, allocations: 125 kB / 0.6 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6419, allocations: 0 / 0.6 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6419, allocations: 0 / 0.6 GB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6419, allocations: 8.094 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.6427, allocations: 0.5803 MB / 0.6006 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6427, allocations: 0 / 0.6006 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.6428, allocations: 15.98 kB / 0.6006 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6428, allocations: 0 / 0.6006 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.6428, allocations: 0 / 0.6006 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6428, allocations: 3.953 kB / 0.6006 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6428, allocations: 0 / 0.6006 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.6431, allocations: 206.9 kB / 0.6008 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.6433, allocations: 164.5 kB / 0.601 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.6433, allocations: 4 kB / 0.601 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.6434, allocations: 4.25 kB / 0.601 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.6435, allocations: 11.94 kB / 0.601 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.6435, allocations: 4 kB / 0.601 GB, free: 3.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006859/0.6442, allocations: 0.6342 MB / 0.6016 GB, free: 2.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6442, allocations: 0 / 0.6016 GB, free: 2.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.6445, allocations: 67.94 kB / 0.6017 GB, free: 2.625 MB / 410.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 (5): * Single equations (assignments): 5 * 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.001183/0.6456, allocations: 0.9902 MB / 0.6027 GB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.6458, allocations: 39.92 kB / 0.6027 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6458, allocations: 0 / 0.6027 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.6458, allocations: 20 kB / 0.6027 GB, free: 1.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.6461, allocations: 30.27 kB / 0.6027 GB, free: 1.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.6473, allocations: 0.8374 MB / 0.6036 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.6478, allocations: 0.837 MB / 0.6044 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.6479, allocations: 44.19 kB / 0.6044 GB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.6481, allocations: 115.4 kB / 0.6045 GB, free: 15.74 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6481, allocations: 4 kB / 0.6045 GB, free: 15.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.668, allocations: 6.477 MB / 0.6109 GB, free: 9.316 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.6683, allocations: 185.9 kB / 0.611 GB, free: 9.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.936, allocations: 64 / 0.611 GB, free: 9.09 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat