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.002218/0.002227, allocations: 181.7 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 96.42 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5181/0.5181, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004565, allocations: 16 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5921, allocations: 86.39 MB / 0.5632 GB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.5924, allocations: 75.97 kB / 0.5633 GB, free: 192 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.6082, allocations: 3.971 MB / 0.5671 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6083, allocations: 4 kB / 0.5671 GB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.6083, allocations: 0 / 0.5671 GB, free: 12.25 MB / 394.7 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.0005306/0.6088, allocations: 415.9 kB / 0.5675 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6089, allocations: 12.03 kB / 0.5676 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.6089, allocations: 34.56 kB / 0.5676 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.609, allocations: 11.34 kB / 0.5676 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.6093, allocations: 199.5 kB / 0.5678 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.6093, allocations: 8 kB / 0.5678 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.6094, allocations: 4 kB / 0.5678 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.6095, allocations: 53.61 kB / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6096, allocations: 0 / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.6096, allocations: 0 / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6096, allocations: 4 kB / 0.5679 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.6098, allocations: 27.02 kB / 0.5679 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.6102, allocations: 284.9 kB / 0.5681 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.6105, allocations: 46.5 kB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.6105, allocations: 4.078 kB / 0.5682 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.6106, allocations: 34.56 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.6106, allocations: 4 kB / 0.5682 GB, free: 10.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000809/0.6114, allocations: 169.1 kB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6115, allocations: 59.36 kB / 0.5685 GB, free: 10.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.6118, allocations: 198 kB / 0.5686 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6118, allocations: 29.7 kB / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/0.6119, allocations: 166.5 kB / 0.5688 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.612, allocations: 19.73 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.612, allocations: 0 / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6121, allocations: 315.1 kB / 0.5691 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.6123, allocations: 19.98 kB / 0.5692 GB, free: 9.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6124, allocations: 23.98 kB / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.6125, allocations: 25.95 kB / 0.5692 GB, free: 9.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6125, allocations: 0 / 0.5692 GB, free: 9.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003014/0.6128, allocations: 89.61 kB / 0.5693 GB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6129, allocations: 4 kB / 0.5693 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6129, allocations: 0 / 0.5693 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6129, allocations: 1.688 kB / 0.5693 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.613, allocations: 15.98 kB / 0.5693 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.613, allocations: 0 / 0.5693 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.6131, allocations: 11.95 kB / 0.5693 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.6132, allocations: 4 kB / 0.5693 GB, free: 9.801 MB / 394.7 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 () * Number of clocked 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.0001272/0.6133, allocations: 129.8 kB / 0.5695 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.6133, allocations: 11.81 kB / 0.5695 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.6137, allocations: 118.5 kB / 0.5696 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6137, allocations: 0 / 0.5696 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6138, allocations: 0 / 0.5696 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6138, allocations: 4.281 kB / 0.5696 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.6144, allocations: 375.4 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6145, allocations: 0 / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.6146, allocations: 19.94 kB / 0.57 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.6146, allocations: 3.984 kB / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.6146, allocations: 384 / 0.57 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6146, allocations: 5.672 kB / 0.57 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6146, allocations: 7.953 kB / 0.57 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.615, allocations: 191.4 kB / 0.5702 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.6151, allocations: 100.9 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.6152, allocations: 0 / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6153, allocations: 4 kB / 0.5703 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.6153, allocations: 7.984 kB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6153, allocations: 3.953 kB / 0.5703 GB, free: 8.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.6156, allocations: 163.7 kB / 0.5704 GB, free: 8.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.364e-06/0.6156, allocations: 4 kB / 0.5704 GB, free: 8.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.6159, allocations: 27.92 kB / 0.5705 GB, free: 8.543 MB / 394.7 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 () * Number of clocked 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.001697/0.6176, allocations: 1.022 MB / 0.5715 GB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.618, allocations: 47.97 kB / 0.5715 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.618, allocations: 4 kB / 0.5715 GB, free: 7.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.6181, allocations: 31.92 kB / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.6184, allocations: 18.23 kB / 0.5716 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.6201, allocations: 0.7694 MB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.6205, allocations: 0.7158 MB / 0.573 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.6206, allocations: 23.44 kB / 0.573 GB, free: 5.918 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6206, allocations: 0 / 0.573 GB, free: 5.918 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.98/3.601, allocations: 2.163 MB / 0.5751 GB, free: 3.754 MB / 394.7 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