Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",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.000922/0.0009223, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009454/0.0009453, allocations: 94.22 kB / 261.8 MB, free: 1.68 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.2405/0.2405, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.667e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5781, allocations: 85.6 MB / 0.5496 GB, free: 8.766 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.5784, allocations: 74.03 kB / 0.5497 GB, free: 8.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009065/0.5875, allocations: 3.529 MB / 0.5531 GB, free: 5.949 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5875, allocations: 0 / 0.5531 GB, free: 5.949 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.5875, allocations: 4 kB / 0.5531 GB, free: 5.945 MB / 362.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.0003115/0.5879, allocations: 377.3 kB / 0.5535 GB, free: 5.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5879, allocations: 15.97 kB / 0.5535 GB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.5879, allocations: 7.906 kB / 0.5535 GB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.5881, allocations: 190.8 kB / 0.5537 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.5881, allocations: 0 / 0.5537 GB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.5882, allocations: 4 kB / 0.5537 GB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.033e-05/0.5882, allocations: 15.92 kB / 0.5537 GB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.057e-05/0.5883, allocations: 33.39 kB / 0.5537 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5883, allocations: 0 / 0.5537 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5883, allocations: 4 kB / 0.5538 GB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5884, allocations: 4 kB / 0.5538 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.5886, allocations: 262.9 kB / 0.554 GB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.5888, allocations: 37.69 kB / 0.554 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.5888, allocations: 12.8 kB / 0.5541 GB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.5888, allocations: 0 / 0.5541 GB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.5889, allocations: 34.56 kB / 0.5541 GB, free: 4.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.5889, allocations: 0 / 0.5541 GB, free: 4.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003234/0.5892, allocations: 99.86 kB / 0.5542 GB, free: 4.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.5892, allocations: 51.41 kB / 0.5542 GB, free: 4.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5893, allocations: 143 kB / 0.5544 GB, free: 4.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.5894, allocations: 25.7 kB / 0.5544 GB, free: 4.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.5894, allocations: 94.7 kB / 0.5545 GB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.5894, allocations: 18.36 kB / 0.5545 GB, free: 4.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.5894, allocations: 4 kB / 0.5545 GB, free: 4.434 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.5895, allocations: 322.5 kB / 0.5548 GB, free: 4.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.5895, allocations: 7.5 kB / 0.5548 GB, free: 4.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.5895, allocations: 7.25 kB / 0.5548 GB, free: 4.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.5895, allocations: 14.8 kB / 0.5548 GB, free: 4.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5896, allocations: 0 / 0.5548 GB, free: 4.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.604e-05/0.5896, allocations: 57.11 kB / 0.5549 GB, free: 4.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5897, allocations: 8 kB / 0.5549 GB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5897, allocations: 3.984 kB / 0.5549 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5897, allocations: 4 kB / 0.5549 GB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.5898, allocations: 12 kB / 0.5549 GB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.5898, allocations: 0 / 0.5549 GB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.5898, allocations: 7.984 kB / 0.5549 GB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.5898, allocations: 4 kB / 0.5549 GB, free: 4 MB / 362.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 4.554e-05/0.5899, allocations: 105.1 kB / 0.555 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.829e-05/0.59, allocations: 64.28 kB / 0.5551 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.59, allocations: 11.91 kB / 0.5551 GB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.5901, allocations: 61.03 kB / 0.5552 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5901, allocations: 4 kB / 0.5552 GB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5902, allocations: 3.938 kB / 0.5552 GB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5902, allocations: 3.953 kB / 0.5552 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.5904, allocations: 307.8 kB / 0.5555 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5904, allocations: 0 / 0.5555 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.5905, allocations: 16.12 kB / 0.5555 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5905, allocations: 4 kB / 0.5555 GB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.5905, allocations: 3.984 kB / 0.5555 GB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5905, allocations: 4 kB / 0.5555 GB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5905, allocations: 3.953 kB / 0.5555 GB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.106e-05/0.5906, allocations: 154.2 kB / 0.5556 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.5906, allocations: 85.02 kB / 0.5557 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5907, allocations: 3.984 kB / 0.5557 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.5907, allocations: 12 kB / 0.5557 GB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.5908, allocations: 7.984 kB / 0.5557 GB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.5908, allocations: 7.891 kB / 0.5558 GB, free: 3.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.5909, allocations: 110.1 kB / 0.5559 GB, free: 3.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5909, allocations: 0 / 0.5559 GB, free: 3.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.5911, allocations: 19.88 kB / 0.5559 GB, free: 3 MB / 362.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.0008402/0.5919, allocations: 0.9204 MB / 0.5568 GB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.592, allocations: 25.44 kB / 0.5568 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.592, allocations: 0 / 0.5568 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.5921, allocations: 14.56 kB / 0.5568 GB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.5923, allocations: 11.98 kB / 0.5568 GB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.5927, allocations: 170.2 kB / 0.557 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.5928, allocations: 0.7001 MB / 0.5577 GB, free: 1.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.216e-05/0.5929, allocations: 12.16 kB / 0.5577 GB, free: 1.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.5929, allocations: 21.56 kB / 0.5577 GB, free: 1.137 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5929, allocations: 0 / 0.5577 GB, free: 1.137 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.6117, allocations: 1.786 MB / 0.5595 GB, free: 15.36 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.612, allocations: 164.2 kB / 0.5596 GB, free: 15.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.382/1.994, allocations: 0 / 0.5596 GB, free: 15.16 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat does not exist to compare? outputFormat=mat