Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",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: 179.2 kB / 8.363 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.057/2.057, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001144/0.001143, allocations: 93.44 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.3521/0.3521, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.119e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4372, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.6106, allocations: 85.64 MB / 0.5496 GB, free: 13.57 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.611, allocations: 67.97 kB / 0.5497 GB, free: 13.5 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01815/0.6292, allocations: 4.114 MB / 0.5537 GB, free: 9.391 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6292, allocations: 0 / 0.5537 GB, free: 9.391 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.6293, allocations: 0 / 0.5537 GB, free: 9.391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005361/0.6298, allocations: 402.9 kB / 0.5541 GB, free: 8.953 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.6299, allocations: 12.02 kB / 0.5541 GB, free: 8.941 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.63, allocations: 15.81 kB / 0.5541 GB, free: 8.926 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.6303, allocations: 214.5 kB / 0.5543 GB, free: 8.676 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.6304, allocations: 4 kB / 0.5543 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6304, allocations: 4 kB / 0.5543 GB, free: 8.668 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.899e-05/0.6305, allocations: 12 kB / 0.5543 GB, free: 8.656 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6306, allocations: 41.69 kB / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6306, allocations: 0 / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6307, allocations: 0 / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6307, allocations: 0 / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.6312, allocations: 277.4 kB / 0.5546 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.6314, allocations: 50.42 kB / 0.5547 GB, free: 8.242 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.6315, allocations: 12.86 kB / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.6315, allocations: 0 / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6316, allocations: 34.56 kB / 0.5547 GB, free: 8.184 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.6316, allocations: 0 / 0.5547 GB, free: 8.184 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005435/0.6321, allocations: 113.2 kB / 0.5548 GB, free: 8.066 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6322, allocations: 59.36 kB / 0.5549 GB, free: 7.996 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.6326, allocations: 225.7 kB / 0.5551 GB, free: 7.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.6326, allocations: 25.7 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6327, allocations: 170.5 kB / 0.5553 GB, free: 7.57 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.6328, allocations: 15.75 kB / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.6328, allocations: 0 / 0.5553 GB, free: 7.555 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6329, allocations: 314.8 kB / 0.5556 GB, free: 7.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.633, allocations: 8 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.633, allocations: 16 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.792e-05/0.6331, allocations: 8.156 kB / 0.5557 GB, free: 7.207 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6331, allocations: 0 / 0.5557 GB, free: 7.207 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/0.6333, allocations: 57.59 kB / 0.5557 GB, free: 7.145 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6333, allocations: 8 kB / 0.5557 GB, free: 7.137 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6333, allocations: 3.938 kB / 0.5557 GB, free: 7.133 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6333, allocations: 0 / 0.5557 GB, free: 7.133 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.6335, allocations: 15.98 kB / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.6335, allocations: 0 / 0.5557 GB, free: 7.117 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.6336, allocations: 11.95 kB / 0.5557 GB, free: 7.105 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.6337, allocations: 0 / 0.5557 GB, free: 7.105 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 9.617e-05/0.6338, allocations: 105 kB / 0.5558 GB, free: 6.996 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000179/0.634, allocations: 65.84 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.634, allocations: 15.81 kB / 0.5559 GB, free: 6.91 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.6343, allocations: 79.23 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6343, allocations: 0 / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6343, allocations: 3.953 kB / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6343, allocations: 4 kB / 0.556 GB, free: 6.82 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.6349, allocations: 335.1 kB / 0.5563 GB, free: 6.449 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.635, allocations: 0 / 0.5563 GB, free: 6.449 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.6351, allocations: 19.92 kB / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.463e-06/0.6351, allocations: 0 / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6351, allocations: 0 / 0.5563 GB, free: 6.43 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6352, allocations: 3.953 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6352, allocations: 0 / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.6354, allocations: 171.4 kB / 0.5565 GB, free: 6.242 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.6355, allocations: 96.91 kB / 0.5566 GB, free: 6.129 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.6356, allocations: 4 kB / 0.5566 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.6357, allocations: 7.938 kB / 0.5566 GB, free: 6.117 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.6358, allocations: 11.94 kB / 0.5566 GB, free: 6.105 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.6358, allocations: 7.938 kB / 0.5566 GB, free: 6.098 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002773/0.6361, allocations: 188.3 kB / 0.5568 GB, free: 5.914 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6361, allocations: 4 kB / 0.5568 GB, free: 5.91 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000376/0.6365, allocations: 24 kB / 0.5568 GB, free: 5.887 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 (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.001505/0.638, allocations: 0.9251 MB / 0.5577 GB, free: 4.973 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.6382, allocations: 24 kB / 0.5578 GB, free: 4.949 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6382, allocations: 0 / 0.5578 GB, free: 4.949 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.862e-05/0.6383, allocations: 15.94 kB / 0.5578 GB, free: 4.934 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.6386, allocations: 31.91 kB / 0.5578 GB, free: 4.898 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.6396, allocations: 288.2 kB / 0.5581 GB, free: 4.574 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.6399, allocations: 0.7158 MB / 0.5588 GB, free: 3.832 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.6401, allocations: 39.42 kB / 0.5588 GB, free: 3.793 MB / 395.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6401, allocations: 0 / 0.5588 GB, free: 3.793 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.295, allocations: 2.424 MB / 0.5612 GB, free: 1.375 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat does not exist to compare? outputFormat=mat