Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3",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.001548/0.001553, 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.066/2.066, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001132/0.001131, allocations: 82.05 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.301/0.301, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.339e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 58.84 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5755, allocations: 85.74 MB / 0.5497 GB, free: 13.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5758, allocations: 71.97 kB / 0.5498 GB, free: 13.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.5928, allocations: 3.831 MB / 0.5535 GB, free: 9.578 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5929, allocations: 0 / 0.5535 GB, free: 9.578 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.5929, allocations: 0 / 0.5535 GB, free: 9.578 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.000501/0.5934, allocations: 386.9 kB / 0.5539 GB, free: 9.156 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5935, allocations: 12.03 kB / 0.5539 GB, free: 9.145 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.5936, allocations: 7.906 kB / 0.5539 GB, free: 9.137 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.5939, allocations: 206.7 kB / 0.5541 GB, free: 8.895 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5939, allocations: 0 / 0.5541 GB, free: 8.895 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.5939, allocations: 3.938 kB / 0.5541 GB, free: 8.891 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.77e-05/0.594, allocations: 15.98 kB / 0.5541 GB, free: 8.875 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.5942, allocations: 41.69 kB / 0.5542 GB, free: 8.828 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5942, allocations: 0 / 0.5542 GB, free: 8.828 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5942, allocations: 0 / 0.5542 GB, free: 8.828 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5942, allocations: 4 kB / 0.5542 GB, free: 8.824 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.5947, allocations: 273.5 kB / 0.5544 GB, free: 8.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.595, allocations: 42.5 kB / 0.5545 GB, free: 8.469 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.595, allocations: 8.859 kB / 0.5545 GB, free: 8.457 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.5951, allocations: 0 / 0.5545 GB, free: 8.457 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.5951, allocations: 34.56 kB / 0.5545 GB, free: 8.414 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.5951, allocations: 4 kB / 0.5545 GB, free: 8.41 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005412/0.5957, allocations: 117.4 kB / 0.5546 GB, free: 8.289 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.5957, allocations: 51.41 kB / 0.5547 GB, free: 8.227 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.596, allocations: 165.4 kB / 0.5548 GB, free: 8.059 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.596, allocations: 25.7 kB / 0.5549 GB, free: 8.027 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.5961, allocations: 166.5 kB / 0.555 GB, free: 7.863 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.5962, allocations: 11.81 kB / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.5962, allocations: 0 / 0.555 GB, free: 7.852 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5963, allocations: 318.8 kB / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.5964, allocations: 15.98 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.5964, allocations: 12 kB / 0.5554 GB, free: 7.504 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.5965, allocations: 8.156 kB / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.5965, allocations: 0 / 0.5554 GB, free: 7.496 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001573/0.5967, allocations: 61.59 kB / 0.5554 GB, free: 7.43 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5967, allocations: 8 kB / 0.5554 GB, free: 7.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.5968, allocations: 3.984 kB / 0.5554 GB, free: 7.418 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.5968, allocations: 7.922 kB / 0.5555 GB, free: 7.41 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5969, allocations: 19.94 kB / 0.5555 GB, free: 7.391 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.597, allocations: 0 / 0.5555 GB, free: 7.391 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.5971, allocations: 7.984 kB / 0.5555 GB, free: 7.383 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.5971, allocations: 4 kB / 0.5555 GB, free: 7.379 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.486e-05/0.5972, allocations: 108.9 kB / 0.5556 GB, free: 7.266 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001722/0.5974, allocations: 61.59 kB / 0.5556 GB, free: 7.199 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.5974, allocations: 11.91 kB / 0.5557 GB, free: 7.188 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.5977, allocations: 86 kB / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5977, allocations: 0 / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5977, allocations: 0 / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5977, allocations: 3.953 kB / 0.5557 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.5982, allocations: 319.6 kB / 0.5561 GB, free: 6.734 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5982, allocations: 8 kB / 0.5561 GB, free: 6.727 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.5984, allocations: 11.98 kB / 0.5561 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5984, allocations: 4 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5984, allocations: 4 kB / 0.5561 GB, free: 6.707 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.5984, allocations: 0 / 0.5561 GB, free: 6.707 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.5985, allocations: 7.891 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.5987, allocations: 171.3 kB / 0.5562 GB, free: 6.516 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.5988, allocations: 85.02 kB / 0.5563 GB, free: 6.414 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.5988, allocations: 4 kB / 0.5563 GB, free: 6.41 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.5989, allocations: 7.984 kB / 0.5563 GB, free: 6.402 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.599, allocations: 8 kB / 0.5563 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.599, allocations: 11.89 kB / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.5992, allocations: 139.9 kB / 0.5565 GB, free: 6.246 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5992, allocations: 0 / 0.5565 GB, free: 6.246 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.5996, allocations: 19.94 kB / 0.5565 GB, free: 6.227 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.001413/0.601, allocations: 0.9333 MB / 0.5574 GB, free: 5.312 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.6012, allocations: 31.98 kB / 0.5575 GB, free: 5.281 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6012, allocations: 0 / 0.5575 GB, free: 5.281 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.895e-05/0.6013, allocations: 19.94 kB / 0.5575 GB, free: 5.262 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.6016, allocations: 12.59 kB / 0.5575 GB, free: 5.25 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.6024, allocations: 227.5 kB / 0.5577 GB, free: 4.984 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6027, allocations: 0.7041 MB / 0.5584 GB, free: 4.254 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.6028, allocations: 31.42 kB / 0.5584 GB, free: 4.223 MB / 395.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6028, allocations: 0 / 0.5584 GB, free: 4.223 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.575/3.177, allocations: 2.058 MB / 0.5604 GB, free: 2.172 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test3_res.mat does not exist to compare? outputFormat=mat