Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",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.002346/0.002345, allocations: 186.2 kB / 16.41 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.023/2.023, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001231/0.00123, allocations: 95.39 kB / 270.9 MB, free: 8.371 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.5621/0.5621, allocations: 43.55 MB / 362.7 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006412/0.0006416, allocations: 15.98 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1272, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5938, allocations: 87.67 MB / 0.5644 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.5942, allocations: 71.97 kB / 0.5645 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02394/0.6182, allocations: 5.242 MB / 0.5696 GB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6182, allocations: 0 / 0.5696 GB, free: 9.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.6182, allocations: 8 kB / 0.5696 GB, free: 9.586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007038/0.6189, allocations: 417.8 kB / 0.57 GB, free: 9.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.619, allocations: 8.031 kB / 0.5701 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.6191, allocations: 34.55 kB / 0.5701 GB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.6191, allocations: 15.34 kB / 0.5701 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.6195, allocations: 212.2 kB / 0.5703 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.6196, allocations: 4 kB / 0.5703 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.6196, allocations: 7.938 kB / 0.5703 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.6198, allocations: 57.67 kB / 0.5704 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6198, allocations: 0 / 0.5704 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6198, allocations: 0 / 0.5704 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6199, allocations: 4.969 kB / 0.5704 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.62, allocations: 19.98 kB / 0.5704 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.6205, allocations: 296.7 kB / 0.5707 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.6208, allocations: 62.67 kB / 0.5707 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.6208, allocations: 0 / 0.5707 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.621, allocations: 71.45 kB / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 5.069e-06/0.621, allocations: 3.984 kB / 0.5708 GB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008147/0.6219, allocations: 169.3 kB / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.6219, allocations: 59.34 kB / 0.571 GB, free: 7.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.6222, allocations: 165.3 kB / 0.5712 GB, free: 7.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.6222, allocations: 25.7 kB / 0.5712 GB, free: 7.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.6223, allocations: 162.5 kB / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.6224, allocations: 27.69 kB / 0.5714 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.6224, allocations: 4 kB / 0.5714 GB, free: 7.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6225, allocations: 314.8 kB / 0.5717 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-05/0.6227, allocations: 23.98 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6228, allocations: 41.64 kB / 0.5718 GB, free: 7.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.6229, allocations: 20 kB / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6229, allocations: 0 / 0.5718 GB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000304/0.6232, allocations: 97.61 kB / 0.5719 GB, free: 7.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6233, allocations: 4 kB / 0.5719 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6233, allocations: 4 kB / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6233, allocations: 0 / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.6235, allocations: 15.98 kB / 0.5719 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6235, allocations: 3.984 kB / 0.5719 GB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.6236, allocations: 8 kB / 0.5719 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.6236, allocations: 4 kB / 0.5719 GB, free: 7.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001467/0.6238, allocations: 133.8 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.6238, allocations: 7.906 kB / 0.572 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.6242, allocations: 118.3 kB / 0.5722 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6242, allocations: 0 / 0.5722 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.6243, allocations: 0 / 0.5722 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6243, allocations: 11.89 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.625, allocations: 411.3 kB / 0.5726 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.625, allocations: 0 / 0.5726 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.6251, allocations: 12 kB / 0.5726 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.6251, allocations: 3.984 kB / 0.5726 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.6252, allocations: 4 kB / 0.5726 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.6252, allocations: 4.828 kB / 0.5726 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6252, allocations: 80 / 0.5726 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.6256, allocations: 222 kB / 0.5728 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.6256, allocations: 93 kB / 0.5729 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.6257, allocations: 7.953 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.6258, allocations: 0 / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.6259, allocations: 11.98 kB / 0.5729 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.6259, allocations: 8.375 kB / 0.5729 GB, free: 5.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.6261, allocations: 134.1 kB / 0.573 GB, free: 5.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6261, allocations: 0 / 0.573 GB, free: 5.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.6265, allocations: 31.98 kB / 0.5731 GB, free: 5.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002019/0.6285, allocations: 1.202 MB / 0.5742 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002834/0.6288, allocations: 59.92 kB / 0.5743 GB, free: 4.559 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6288, allocations: 4.062 kB / 0.5743 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.629, allocations: 31.98 kB / 0.5743 GB, free: 4.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.6293, allocations: 25.19 kB / 0.5744 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.631, allocations: 0.8708 MB / 0.5752 GB, free: 3.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.6314, allocations: 0.708 MB / 0.5759 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6315, allocations: 39.36 kB / 0.5759 GB, free: 2.793 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6315, allocations: 0 / 0.5759 GB, free: 2.793 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/3.279, allocations: 2.397 MB / 0.5783 GB, free: 416 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat