Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",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.001572/0.001571, allocations: 179.4 kB / 8.364 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.148/2.148, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001663/0.001663, allocations: 97.89 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.3546/0.3546, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.037e-05, allocations: 0 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.5858, allocations: 85.7 MB / 0.5497 GB, free: 13.52 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5862, allocations: 75.45 kB / 0.5498 GB, free: 13.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.602, allocations: 3.589 MB / 0.5533 GB, free: 9.863 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6021, allocations: 0 / 0.5533 GB, free: 9.863 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.6021, allocations: 4 kB / 0.5533 GB, free: 9.859 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.0005376/0.6027, allocations: 382.9 kB / 0.5536 GB, free: 9.441 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6027, allocations: 12.03 kB / 0.5536 GB, free: 9.43 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.6028, allocations: 11.91 kB / 0.5537 GB, free: 9.418 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.6031, allocations: 194.8 kB / 0.5538 GB, free: 9.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.6031, allocations: 0 / 0.5538 GB, free: 9.188 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.6032, allocations: 4 kB / 0.5538 GB, free: 9.184 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9e-05/0.6033, allocations: 19.97 kB / 0.5539 GB, free: 9.164 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.6034, allocations: 41.64 kB / 0.5539 GB, free: 9.117 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6034, allocations: 0 / 0.5539 GB, free: 9.117 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6034, allocations: 0 / 0.5539 GB, free: 9.117 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6035, allocations: 0 / 0.5539 GB, free: 9.117 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.604, allocations: 269.5 kB / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.6042, allocations: 30.58 kB / 0.5542 GB, free: 8.777 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.735e-05/0.6042, allocations: 12.94 kB / 0.5542 GB, free: 8.762 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.6043, allocations: 0 / 0.5542 GB, free: 8.762 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6043, allocations: 42.5 kB / 0.5542 GB, free: 8.711 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.6043, allocations: 4 kB / 0.5542 GB, free: 8.707 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005105/0.6048, allocations: 105.3 kB / 0.5543 GB, free: 8.598 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.6049, allocations: 55.36 kB / 0.5544 GB, free: 8.531 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6051, allocations: 148.4 kB / 0.5545 GB, free: 8.383 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.6052, allocations: 25.7 kB / 0.5546 GB, free: 8.352 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.6053, allocations: 162.5 kB / 0.5547 GB, free: 8.191 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.6053, allocations: 19.66 kB / 0.5547 GB, free: 8.172 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.6054, allocations: 7.938 kB / 0.5547 GB, free: 8.164 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6055, allocations: 314.8 kB / 0.555 GB, free: 7.848 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.6056, allocations: 8 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.6056, allocations: 15.98 kB / 0.5551 GB, free: 7.824 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.6057, allocations: 16.19 kB / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6057, allocations: 0 / 0.5551 GB, free: 7.809 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001547/0.6059, allocations: 57.69 kB / 0.5551 GB, free: 7.746 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6059, allocations: 4 kB / 0.5551 GB, free: 7.742 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6059, allocations: 0 / 0.5551 GB, free: 7.742 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.606, allocations: 0 / 0.5551 GB, free: 7.742 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.6061, allocations: 23.98 kB / 0.5552 GB, free: 7.719 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6061, allocations: 3.953 kB / 0.5552 GB, free: 7.715 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.6062, allocations: 7.984 kB / 0.5552 GB, free: 7.707 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6062, allocations: 4 kB / 0.5552 GB, free: 7.703 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 0.00012/0.6064, allocations: 105 kB / 0.5553 GB, free: 7.594 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001586/0.6065, allocations: 65.59 kB / 0.5553 GB, free: 7.523 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.6066, allocations: 7.906 kB / 0.5554 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.6068, allocations: 78.03 kB / 0.5554 GB, free: 7.438 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6068, allocations: 4 kB / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6068, allocations: 0 / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6069, allocations: 0 / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.6074, allocations: 323.1 kB / 0.5557 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6074, allocations: 0 / 0.5557 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.6075, allocations: 12 kB / 0.5558 GB, free: 7.062 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.6075, allocations: 3.953 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6075, allocations: 4 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6076, allocations: 256 / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.6076, allocations: 3.984 kB / 0.5558 GB, free: 7.051 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.6078, allocations: 167.4 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.6079, allocations: 85.02 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.6079, allocations: 7.953 kB / 0.556 GB, free: 6.762 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.608, allocations: 11.98 kB / 0.556 GB, free: 6.75 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.6081, allocations: 4 kB / 0.556 GB, free: 6.746 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.6081, allocations: 4 kB / 0.556 GB, free: 6.742 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.6083, allocations: 123.2 kB / 0.5561 GB, free: 6.621 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6083, allocations: 3.938 kB / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.6086, allocations: 23.88 kB / 0.5562 GB, free: 6.594 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.001471/0.6101, allocations: 0.9237 MB / 0.5571 GB, free: 5.688 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.6103, allocations: 31.98 kB / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6104, allocations: 0 / 0.5571 GB, free: 5.656 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.6104, allocations: 20 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.6108, allocations: 19.22 kB / 0.5571 GB, free: 5.621 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.6115, allocations: 207.7 kB / 0.5573 GB, free: 5.375 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6118, allocations: 0.7041 MB / 0.558 GB, free: 4.645 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.612, allocations: 27.38 kB / 0.5581 GB, free: 4.617 MB / 395.1 MB Notification: Performance of SimCode: time 9.02e-07/0.612, allocations: 0 / 0.5581 GB, free: 4.617 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.714/3.326, allocations: 1.921 MB / 0.5599 GB, free: 2.703 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat does not exist to compare? outputFormat=mat