Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",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.00149/0.001496, allocations: 178 kB / 8.362 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.097/2.097, 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.001132/0.001132, allocations: 84.5 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.3038/0.3038, allocations: 43.5 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.823e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4161, allocations: 58.85 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.5898, allocations: 86.95 MB / 0.5509 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5902, allocations: 75.95 kB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02573/0.6159, allocations: 5.497 MB / 0.5564 GB, free: 6.684 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.616, allocations: 0 / 0.5564 GB, free: 6.684 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.616, allocations: 3.938 kB / 0.5564 GB, free: 6.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005892/0.6166, allocations: 410.8 kB / 0.5568 GB, free: 6.234 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.6167, allocations: 8.031 kB / 0.5568 GB, free: 6.227 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.6168, allocations: 19.81 kB / 0.5568 GB, free: 6.207 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.6172, allocations: 222.8 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.6172, allocations: 4 kB / 0.557 GB, free: 5.945 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.6173, allocations: 4 kB / 0.557 GB, free: 5.941 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/0.6174, allocations: 23.92 kB / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.6175, allocations: 45.69 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6176, allocations: 0 / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6176, allocations: 0 / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6176, allocations: 0 / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.6181, allocations: 281.4 kB / 0.5573 GB, free: 5.555 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.6183, allocations: 50.69 kB / 0.5574 GB, free: 5.496 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.6183, allocations: 24.92 kB / 0.5574 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.6184, allocations: 0 / 0.5574 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.6185, allocations: 63.39 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.6186, allocations: 3.938 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006259/0.6192, allocations: 149.2 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.6193, allocations: 55.41 kB / 0.5577 GB, free: 5.172 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.6196, allocations: 213.6 kB / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.6196, allocations: 25.7 kB / 0.5579 GB, free: 4.918 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.6198, allocations: 166.5 kB / 0.5581 GB, free: 4.754 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.6198, allocations: 23.66 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.6198, allocations: 0 / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.62, allocations: 314.8 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.6201, allocations: 19.98 kB / 0.5584 GB, free: 4.395 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.6201, allocations: 33.72 kB / 0.5584 GB, free: 4.355 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/0.6202, allocations: 23.98 kB / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6202, allocations: 0 / 0.5585 GB, free: 4.332 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.6205, allocations: 85.69 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6205, allocations: 4 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6205, allocations: 0 / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6205, allocations: 4 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.6207, allocations: 15.98 kB / 0.5586 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6207, allocations: 0 / 0.5586 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.6208, allocations: 8.031 kB / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.6208, allocations: 3.953 kB / 0.5586 GB, free: 4.207 MB / 395.1 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 () * 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 9.9e-05/0.6209, allocations: 116.9 kB / 0.5587 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002262/0.6212, allocations: 97.47 kB / 0.5588 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.6212, allocations: 11.91 kB / 0.5588 GB, free: 3.973 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.6215, allocations: 111.4 kB / 0.5589 GB, free: 3.859 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.6216, allocations: 4 kB / 0.5589 GB, free: 3.855 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6216, allocations: 3.953 kB / 0.5589 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6216, allocations: 4 kB / 0.5589 GB, free: 3.848 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.6223, allocations: 384 kB / 0.5593 GB, free: 3.426 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6223, allocations: 7.984 kB / 0.5593 GB, free: 3.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.6224, allocations: 8 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6224, allocations: 4.281 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6224, allocations: 0 / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.6224, allocations: 3.953 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6224, allocations: 7.938 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.6227, allocations: 214 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.6229, allocations: 100.9 kB / 0.5596 GB, free: 3.043 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.623, allocations: 3.953 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6231, allocations: 4 kB / 0.5596 GB, free: 3.035 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.6232, allocations: 11.92 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.6232, allocations: 4 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.6234, allocations: 167.2 kB / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6234, allocations: 0 / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.6238, allocations: 27.94 kB / 0.5598 GB, free: 2.828 MB / 395.1 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) * 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.001806/0.6257, allocations: 1.102 MB / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.626, allocations: 55.98 kB / 0.5609 GB, free: 1.691 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.626, allocations: 0 / 0.5609 GB, free: 1.691 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.6261, allocations: 31.94 kB / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6266, allocations: 32.11 kB / 0.561 GB, free: 1.629 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6276, allocations: 273.3 kB / 0.5613 GB, free: 1.316 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.628, allocations: 0.7237 MB / 0.562 GB, free: 0.5664 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6282, allocations: 39.42 kB / 0.562 GB, free: 0.5273 MB / 395.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6282, allocations: 0 / 0.562 GB, free: 0.5273 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.809/3.437, allocations: 2.646 MB / 0.5646 GB, free: 13.89 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat