Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",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.002188/0.002188, 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.056/2.056, 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.001137/0.001137, allocations: 90.06 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.3468/0.3468, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.808e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5423, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.7105, allocations: 85.63 MB / 0.5496 GB, free: 13.56 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.7108, allocations: 67.97 kB / 0.5497 GB, free: 13.49 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.7278, allocations: 3.893 MB / 0.5535 GB, free: 9.605 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.7279, allocations: 0 / 0.5535 GB, free: 9.605 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.7279, allocations: 4 kB / 0.5535 GB, free: 9.602 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.0005161/0.7284, allocations: 378.9 kB / 0.5539 GB, free: 9.188 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.7285, allocations: 8.031 kB / 0.5539 GB, free: 9.18 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.7286, allocations: 7.906 kB / 0.5539 GB, free: 9.172 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.729, allocations: 213.6 kB / 0.5541 GB, free: 8.926 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.729, allocations: 4 kB / 0.5541 GB, free: 8.922 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.729, allocations: 4 kB / 0.5541 GB, free: 8.918 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.629e-05/0.7291, allocations: 11.98 kB / 0.5541 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.7292, allocations: 37.7 kB / 0.5541 GB, free: 8.863 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.7292, allocations: 0 / 0.5541 GB, free: 8.863 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.7293, allocations: 4 kB / 0.5541 GB, free: 8.859 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.7293, allocations: 0 / 0.5541 GB, free: 8.859 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.7298, allocations: 269.4 kB / 0.5544 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.73, allocations: 38.52 kB / 0.5544 GB, free: 8.512 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.73, allocations: 12.8 kB / 0.5544 GB, free: 8.496 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.7301, allocations: 4 kB / 0.5544 GB, free: 8.492 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.7301, allocations: 30.56 kB / 0.5545 GB, free: 8.453 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.7301, allocations: 0 / 0.5545 GB, free: 8.453 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005049/0.7307, allocations: 101.4 kB / 0.5546 GB, free: 8.348 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.7307, allocations: 59.41 kB / 0.5546 GB, free: 8.277 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.731, allocations: 173.4 kB / 0.5548 GB, free: 8.102 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.731, allocations: 25.7 kB / 0.5548 GB, free: 8.07 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.7311, allocations: 174.4 kB / 0.555 GB, free: 7.898 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.7312, allocations: 15.75 kB / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.7312, allocations: 0 / 0.555 GB, free: 7.883 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7313, allocations: 314.8 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.7314, allocations: 8 kB / 0.5553 GB, free: 7.559 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.7314, allocations: 12 kB / 0.5553 GB, free: 7.547 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.819e-05/0.7315, allocations: 16.14 kB / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7315, allocations: 0 / 0.5553 GB, free: 7.531 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001256/0.7316, allocations: 53.64 kB / 0.5554 GB, free: 7.473 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7317, allocations: 4 kB / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7317, allocations: 0 / 0.5554 GB, free: 7.469 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7317, allocations: 3.984 kB / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.7318, allocations: 12.14 kB / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7319, allocations: 0 / 0.5554 GB, free: 7.453 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.7319, allocations: 15.98 kB / 0.5554 GB, free: 7.438 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.732, allocations: 0 / 0.5554 GB, free: 7.438 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.547e-05/0.7321, allocations: 104.9 kB / 0.5555 GB, free: 7.328 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001509/0.7322, allocations: 61.59 kB / 0.5556 GB, free: 7.262 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.7323, allocations: 19.8 kB / 0.5556 GB, free: 7.242 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.7325, allocations: 70.03 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7325, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7325, allocations: 0 / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7326, allocations: 7.953 kB / 0.5557 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.7331, allocations: 323.5 kB / 0.556 GB, free: 6.797 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7331, allocations: 0 / 0.556 GB, free: 6.797 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.7332, allocations: 19.92 kB / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7332, allocations: 0 / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.7333, allocations: 0 / 0.556 GB, free: 6.777 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.7333, allocations: 3.984 kB / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.7333, allocations: 3.953 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.7335, allocations: 163.5 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/0.7336, allocations: 96.91 kB / 0.5563 GB, free: 6.48 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.7336, allocations: 4 kB / 0.5563 GB, free: 6.477 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7337, allocations: 4 kB / 0.5563 GB, free: 6.473 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.7338, allocations: 11.92 kB / 0.5563 GB, free: 6.461 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.7338, allocations: 7.891 kB / 0.5563 GB, free: 6.453 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.734, allocations: 152.1 kB / 0.5564 GB, free: 6.305 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.734, allocations: 4 kB / 0.5564 GB, free: 6.301 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.7344, allocations: 20 kB / 0.5564 GB, free: 6.281 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.001431/0.7359, allocations: 0.9159 MB / 0.5573 GB, free: 5.387 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.736, allocations: 20 kB / 0.5574 GB, free: 5.367 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.736, allocations: 0 / 0.5574 GB, free: 5.367 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.7361, allocations: 15.94 kB / 0.5574 GB, free: 5.352 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.7364, allocations: 23.12 kB / 0.5574 GB, free: 5.332 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007464/0.7372, allocations: 239.4 kB / 0.5576 GB, free: 5.055 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.7376, allocations: 0.7119 MB / 0.5583 GB, free: 4.316 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.7377, allocations: 27.42 kB / 0.5583 GB, free: 4.289 MB / 395.1 MB Notification: Performance of SimCode: time 1.433e-06/0.7377, allocations: 0 / 0.5583 GB, free: 4.289 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.547, allocations: 2.068 MB / 0.5604 GB, free: 2.227 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat does not exist to compare? outputFormat=mat