Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12",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.00237/0.00237, 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.553/2.553, 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.001126/0.001126, allocations: 99.55 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.3093/0.3093, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.875e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 58.85 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5817, allocations: 85.71 MB / 0.5497 GB, free: 13.51 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.582, allocations: 71.47 kB / 0.5498 GB, free: 13.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.5983, allocations: 3.593 MB / 0.5533 GB, free: 9.852 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5983, allocations: 0 / 0.5533 GB, free: 9.852 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.5984, allocations: 4 kB / 0.5533 GB, free: 9.848 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.0005553/0.5989, allocations: 378.9 kB / 0.5536 GB, free: 9.434 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.599, allocations: 12.03 kB / 0.5536 GB, free: 9.422 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.5991, allocations: 7.906 kB / 0.5536 GB, free: 9.414 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.5994, allocations: 198.8 kB / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5994, allocations: 0 / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.5994, allocations: 0 / 0.5538 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.635e-05/0.5996, allocations: 19.98 kB / 0.5539 GB, free: 9.16 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.5997, allocations: 41.62 kB / 0.5539 GB, free: 9.113 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5997, allocations: 7.984 kB / 0.5539 GB, free: 9.105 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5997, allocations: 0 / 0.5539 GB, free: 9.105 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5998, allocations: 4 kB / 0.5539 GB, free: 9.102 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.6003, allocations: 257.5 kB / 0.5542 GB, free: 8.812 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.6006, allocations: 38.56 kB / 0.5542 GB, free: 8.766 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.6006, allocations: 8.859 kB / 0.5542 GB, free: 8.754 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.6007, allocations: 0 / 0.5542 GB, free: 8.754 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6007, allocations: 46.5 kB / 0.5542 GB, free: 8.699 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.6007, allocations: 3.938 kB / 0.5542 GB, free: 8.695 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005639/0.6013, allocations: 101.5 kB / 0.5543 GB, free: 8.59 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.6014, allocations: 55.36 kB / 0.5544 GB, free: 8.523 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.6016, allocations: 148.4 kB / 0.5545 GB, free: 8.375 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.6016, allocations: 25.7 kB / 0.5546 GB, free: 8.344 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.6017, allocations: 166.5 kB / 0.5547 GB, free: 8.18 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.6018, allocations: 19.66 kB / 0.5547 GB, free: 8.16 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.6018, allocations: 3.938 kB / 0.5547 GB, free: 8.156 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6019, allocations: 310.8 kB / 0.555 GB, free: 7.844 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.602, allocations: 15.98 kB / 0.5551 GB, free: 7.828 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.6021, allocations: 12 kB / 0.5551 GB, free: 7.816 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.6021, allocations: 12.19 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6021, allocations: 4 kB / 0.5551 GB, free: 7.801 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001932/0.6023, allocations: 57.69 kB / 0.5551 GB, free: 7.738 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.6024, allocations: 15.98 kB / 0.5552 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6024, allocations: 0 / 0.5552 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6024, allocations: 0 / 0.5552 GB, free: 7.723 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.6026, allocations: 12 kB / 0.5552 GB, free: 7.711 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6026, allocations: 3.953 kB / 0.5552 GB, free: 7.707 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.6027, allocations: 7.984 kB / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.6027, allocations: 4 kB / 0.5552 GB, free: 7.695 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.848e-05/0.6029, allocations: 105 kB / 0.5553 GB, free: 7.586 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001757/0.603, allocations: 65.59 kB / 0.5553 GB, free: 7.516 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.6031, allocations: 7.906 kB / 0.5554 GB, free: 7.508 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.6033, allocations: 78.03 kB / 0.5554 GB, free: 7.43 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6034, allocations: 0 / 0.5554 GB, free: 7.43 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6034, allocations: 4 kB / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6034, allocations: 0 / 0.5554 GB, free: 7.426 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/0.6039, allocations: 319.1 kB / 0.5557 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.604, allocations: 0 / 0.5557 GB, free: 7.07 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.6041, allocations: 16 kB / 0.5557 GB, free: 7.055 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.6041, allocations: 7.938 kB / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.6041, allocations: 0 / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6042, allocations: 256 / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6042, allocations: 0 / 0.5558 GB, free: 7.047 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.6044, allocations: 167.4 kB / 0.5559 GB, free: 6.867 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.6045, allocations: 85.02 kB / 0.556 GB, free: 6.766 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.6045, allocations: 11.94 kB / 0.556 GB, free: 6.754 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.6047, allocations: 12 kB / 0.556 GB, free: 6.742 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.6047, allocations: 3.984 kB / 0.556 GB, free: 6.738 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6047, allocations: 4 kB / 0.556 GB, free: 6.734 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.6049, allocations: 119.3 kB / 0.5561 GB, free: 6.617 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6049, allocations: 7.875 kB / 0.5561 GB, free: 6.609 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003556/0.6053, allocations: 15.94 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.001493/0.6068, allocations: 0.9346 MB / 0.5571 GB, free: 5.676 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.607, allocations: 35.98 kB / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.607, allocations: 0 / 0.5571 GB, free: 5.641 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.607, allocations: 16 kB / 0.5571 GB, free: 5.625 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.6074, allocations: 23.22 kB / 0.5571 GB, free: 5.605 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.6081, allocations: 203.7 kB / 0.5573 GB, free: 5.363 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.6085, allocations: 0.7001 MB / 0.558 GB, free: 4.637 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.6086, allocations: 35.36 kB / 0.5581 GB, free: 4.602 MB / 395.1 MB Notification: Performance of SimCode: time 1.123e-06/0.6086, allocations: 0 / 0.5581 GB, free: 4.602 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.575/3.184, allocations: 1.913 MB / 0.5599 GB, free: 2.695 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat does not exist to compare? outputFormat=mat