Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4",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.001492/0.001497, allocations: 178.4 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.095/2.095, allocations: 205.3 MB / 214.1 MB, free: 14.07 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.00105/0.00105, allocations: 80.02 kB / 262.1 MB, free: 13.88 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.2918/0.2918, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.039e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4387, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.605, allocations: 86.12 MB / 0.5501 GB, free: 13.07 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.6053, allocations: 67.97 kB / 0.5502 GB, free: 13.01 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02826/0.6336, allocations: 7.638 MB / 0.5576 GB, free: 5.355 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6337, allocations: 4 kB / 0.5576 GB, free: 5.352 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.149e-05/0.6337, allocations: 4 kB / 0.5576 GB, free: 5.348 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.0007596/0.6345, allocations: 0.5516 MB / 0.5582 GB, free: 4.754 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6345, allocations: 12.03 kB / 0.5582 GB, free: 4.742 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.6347, allocations: 43.39 kB / 0.5582 GB, free: 4.699 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.6354, allocations: 323.4 kB / 0.5585 GB, free: 4.344 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6354, allocations: 4 kB / 0.5585 GB, free: 4.34 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.6354, allocations: 4 kB / 0.5585 GB, free: 4.336 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.66e-05/0.6355, allocations: 12 kB / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.6356, allocations: 45.62 kB / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6357, allocations: 0 / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.6357, allocations: 0 / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6357, allocations: 3.953 kB / 0.5586 GB, free: 4.27 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.6365, allocations: 413.3 kB / 0.559 GB, free: 3.828 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.6367, allocations: 38.52 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.6368, allocations: 8.859 kB / 0.559 GB, free: 3.77 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.6368, allocations: 4.172 kB / 0.559 GB, free: 3.766 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.6369, allocations: 38.53 kB / 0.5591 GB, free: 3.719 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/0.6369, allocations: 0 / 0.5591 GB, free: 3.719 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006046/0.6375, allocations: 188 kB / 0.5593 GB, free: 3.527 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.6376, allocations: 55.34 kB / 0.5593 GB, free: 3.461 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.6393, allocations: 0.7473 MB / 0.56 GB, free: 2.707 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.6394, allocations: 25.7 kB / 0.5601 GB, free: 2.676 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.6396, allocations: 238.5 kB / 0.5603 GB, free: 2.441 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.6396, allocations: 20.3 kB / 0.5603 GB, free: 2.422 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-06/0.6397, allocations: 0 / 0.5603 GB, free: 2.422 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6398, allocations: 314.8 kB / 0.5606 GB, free: 2.105 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.6399, allocations: 8 kB / 0.5606 GB, free: 2.098 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.6399, allocations: 12 kB / 0.5606 GB, free: 2.086 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/0.64, allocations: 16.11 kB / 0.5606 GB, free: 2.07 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.64, allocations: 0 / 0.5606 GB, free: 2.07 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001414/0.6401, allocations: 49.7 kB / 0.5607 GB, free: 2.016 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6402, allocations: 8 kB / 0.5607 GB, free: 2.008 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.6402, allocations: 0 / 0.5607 GB, free: 2.008 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6402, allocations: 7.891 kB / 0.5607 GB, free: 2 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.6403, allocations: 15.98 kB / 0.5607 GB, free: 1.984 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6404, allocations: 7.938 kB / 0.5607 GB, free: 1.977 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.6405, allocations: 8.141 kB / 0.5607 GB, free: 1.969 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6406, allocations: 8 kB / 0.5607 GB, free: 1.961 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 (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 8.235e-05/0.6407, allocations: 101 kB / 0.5608 GB, free: 1.855 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002175/0.6409, allocations: 93.14 kB / 0.5609 GB, free: 1.758 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.641, allocations: 43.47 kB / 0.561 GB, free: 1.715 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.6413, allocations: 117.2 kB / 0.5611 GB, free: 1.59 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6413, allocations: 4 kB / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6414, allocations: 0 / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6414, allocations: 0 / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.6425, allocations: 0.5302 MB / 0.5616 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6425, allocations: 3.953 kB / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6426, allocations: 15.98 kB / 0.5616 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6426, allocations: 0 / 0.5616 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.6426, allocations: 0 / 0.5616 GB, free: 0.9922 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6427, allocations: 8.25 kB / 0.5616 GB, free: 0.9844 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6427, allocations: 0 / 0.5616 GB, free: 0.9844 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.643, allocations: 199 kB / 0.5618 GB, free: 0.7734 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.6433, allocations: 164.5 kB / 0.562 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.6433, allocations: 0 / 0.562 GB, free: 0.5938 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6435, allocations: 4 kB / 0.562 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.6436, allocations: 7.984 kB / 0.562 GB, free: 0.582 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.6436, allocations: 4 kB / 0.562 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.6447, allocations: 0.6083 MB / 0.5626 GB, free: 15.97 MB / 411.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6447, allocations: 0 / 0.5626 GB, free: 15.97 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.6451, allocations: 59.94 kB / 0.5626 GB, free: 15.91 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 (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.001476/0.6466, allocations: 0.9758 MB / 0.5636 GB, free: 14.95 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.6468, allocations: 24 kB / 0.5636 GB, free: 14.93 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.6468, allocations: 0 / 0.5636 GB, free: 14.93 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.6469, allocations: 23.88 kB / 0.5636 GB, free: 14.91 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.6473, allocations: 29.94 kB / 0.5637 GB, free: 14.88 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.6493, allocations: 0.8465 MB / 0.5645 GB, free: 13.99 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.6499, allocations: 0.834 MB / 0.5653 GB, free: 13.13 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.6501, allocations: 111.4 kB / 0.5654 GB, free: 13.02 MB / 411.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6502, allocations: 0 / 0.5654 GB, free: 13.02 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.903/3.553, allocations: 7.193 MB / 0.5724 GB, free: 5.816 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat