Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",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.001476/0.001476, allocations: 177.8 kB / 8.36 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.074/2.074, 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.001117/0.001117, allocations: 87.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.3147/0.3147, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.3e-05/2.31e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4738, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.6899, allocations: 85.64 MB / 0.5496 GB, free: 13.58 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6903, allocations: 71.97 kB / 0.5497 GB, free: 13.51 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0173/0.7076, allocations: 3.932 MB / 0.5535 GB, free: 9.586 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7076, allocations: 0 / 0.5535 GB, free: 9.586 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.7077, allocations: 4 kB / 0.5535 GB, free: 9.582 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.0005438/0.7082, allocations: 406.7 kB / 0.5539 GB, free: 9.141 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.7083, allocations: 12.03 kB / 0.5539 GB, free: 9.129 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.7084, allocations: 7.906 kB / 0.5539 GB, free: 9.121 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.7087, allocations: 199.5 kB / 0.5541 GB, free: 8.883 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.7088, allocations: 4 kB / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.7088, allocations: 0 / 0.5541 GB, free: 8.879 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.87e-05/0.7089, allocations: 12 kB / 0.5541 GB, free: 8.867 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.952e-05/0.709, allocations: 45.69 kB / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.709, allocations: 0 / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7091, allocations: 3.938 kB / 0.5542 GB, free: 8.812 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7091, allocations: 4 kB / 0.5542 GB, free: 8.809 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.7096, allocations: 269.4 kB / 0.5545 GB, free: 8.508 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.7098, allocations: 38.56 kB / 0.5545 GB, free: 8.461 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.7098, allocations: 8.859 kB / 0.5545 GB, free: 8.449 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.7099, allocations: 0 / 0.5545 GB, free: 8.449 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7099, allocations: 34.56 kB / 0.5545 GB, free: 8.406 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.7099, allocations: 0 / 0.5545 GB, free: 8.406 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005502/0.7105, allocations: 105.3 kB / 0.5546 GB, free: 8.297 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.7106, allocations: 51.41 kB / 0.5547 GB, free: 8.234 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.711, allocations: 193.5 kB / 0.5549 GB, free: 8.035 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.7111, allocations: 29.7 kB / 0.5549 GB, free: 8 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7112, allocations: 170.5 kB / 0.5551 GB, free: 7.832 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.7112, allocations: 23.66 kB / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-06/0.7112, allocations: 0 / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7114, allocations: 318.8 kB / 0.5554 GB, free: 7.488 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.7114, allocations: 4 kB / 0.5554 GB, free: 7.484 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.7115, allocations: 8 kB / 0.5554 GB, free: 7.477 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.7115, allocations: 20.08 kB / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7116, allocations: 0 / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001556/0.7117, allocations: 49.7 kB / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.7118, allocations: 4 kB / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7118, allocations: 0 / 0.5555 GB, free: 7.398 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7118, allocations: 4 kB / 0.5555 GB, free: 7.395 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.712, allocations: 15.98 kB / 0.5555 GB, free: 7.379 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.712, allocations: 0 / 0.5555 GB, free: 7.379 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.909e-05/0.7121, allocations: 11.98 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.7121, allocations: 0 / 0.5555 GB, free: 7.367 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.286e-05/0.7122, allocations: 108.9 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001535/0.7124, allocations: 61.55 kB / 0.5557 GB, free: 7.188 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.7124, allocations: 23.94 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.7127, allocations: 75.28 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7127, allocations: 384 / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7127, allocations: 4 kB / 0.5558 GB, free: 7.082 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.7127, allocations: 3.953 kB / 0.5558 GB, free: 7.078 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.7133, allocations: 331.1 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7133, allocations: 0 / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.7134, allocations: 16 kB / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.7134, allocations: 0 / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.7134, allocations: 0 / 0.5561 GB, free: 6.695 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7135, allocations: 4 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.7135, allocations: 7.938 kB / 0.5561 GB, free: 6.684 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.7137, allocations: 151.5 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.7138, allocations: 100.9 kB / 0.5563 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.7138, allocations: 0 / 0.5563 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.714, allocations: 11.98 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.714, allocations: 7.938 kB / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.714, allocations: 7.891 kB / 0.5564 GB, free: 6.375 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.7143, allocations: 159.2 kB / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7143, allocations: 0 / 0.5565 GB, free: 6.219 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.7147, allocations: 20 kB / 0.5565 GB, free: 6.199 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.001494/0.7162, allocations: 0.9211 MB / 0.5574 GB, free: 5.297 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.7164, allocations: 27.94 kB / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7164, allocations: 0 / 0.5575 GB, free: 5.27 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.7165, allocations: 16 kB / 0.5575 GB, free: 5.254 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.7168, allocations: 19.84 kB / 0.5575 GB, free: 5.234 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.7176, allocations: 247.9 kB / 0.5577 GB, free: 4.953 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.718, allocations: 0.7157 MB / 0.5584 GB, free: 4.211 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.7181, allocations: 35.42 kB / 0.5585 GB, free: 4.176 MB / 395.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7181, allocations: 0 / 0.5585 GB, free: 4.176 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.631/3.35, allocations: 2.172 MB / 0.5606 GB, free: 2.012 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat does not exist to compare? outputFormat=mat