Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",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.001564/0.001564, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001187/0.001186, allocations: 96.41 kB / 270.9 MB, free: 8.387 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.5851/0.5851, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007647/0.0007642, allocations: 16 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1638, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.6588, allocations: 87.7 MB / 0.5645 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/0.6592, allocations: 75.97 kB / 0.5646 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02527/0.6844, allocations: 5.595 MB / 0.57 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.6845, allocations: 4 kB / 0.57 GB, free: 9.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.6845, allocations: 4.547 kB / 0.57 GB, free: 9.227 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.0008677/0.6854, allocations: 433.7 kB / 0.5704 GB, free: 8.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.6855, allocations: 8.031 kB / 0.5704 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.6856, allocations: 34.56 kB / 0.5705 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.6856, allocations: 15.34 kB / 0.5705 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.6861, allocations: 226.7 kB / 0.5707 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6861, allocations: 4 kB / 0.5707 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.6862, allocations: 4 kB / 0.5707 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.6864, allocations: 57.61 kB / 0.5708 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6864, allocations: 2.906 kB / 0.5708 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.6865, allocations: 4 kB / 0.5708 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.6865, allocations: 1.031 kB / 0.5708 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.6866, allocations: 19.98 kB / 0.5708 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.6872, allocations: 300.8 kB / 0.5711 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.6875, allocations: 70.61 kB / 0.5712 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.6875, allocations: 0 / 0.5712 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.6878, allocations: 67.52 kB / 0.5712 GB, free: 7.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.6878, allocations: 0 / 0.5712 GB, free: 7.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009068/0.6887, allocations: 189 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.6888, allocations: 55.41 kB / 0.5715 GB, free: 7.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.6892, allocations: 197.8 kB / 0.5716 GB, free: 7.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.6892, allocations: 29.7 kB / 0.5717 GB, free: 7.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.6893, allocations: 162.6 kB / 0.5718 GB, free: 7.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.6894, allocations: 27.64 kB / 0.5718 GB, free: 7.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.6894, allocations: 7.938 kB / 0.5719 GB, free: 7.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6896, allocations: 314.8 kB / 0.5722 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.957e-05/0.6897, allocations: 19.98 kB / 0.5722 GB, free: 6.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.6898, allocations: 41.7 kB / 0.5722 GB, free: 6.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.6899, allocations: 20 kB / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.69, allocations: 0 / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003345/0.6903, allocations: 97.61 kB / 0.5723 GB, free: 6.645 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.6903, allocations: 4 kB / 0.5723 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6904, allocations: 0 / 0.5723 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6904, allocations: 4 kB / 0.5723 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.6906, allocations: 21.05 kB / 0.5724 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.6906, allocations: 4.734 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.6907, allocations: 7.906 kB / 0.5724 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.6907, allocations: 8 kB / 0.5724 GB, free: 6.598 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.0001742/0.6909, allocations: 129.8 kB / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.691, allocations: 7.906 kB / 0.5725 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.6914, allocations: 115.4 kB / 0.5726 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6914, allocations: 8.031 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6914, allocations: 7.938 kB / 0.5726 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6914, allocations: 7.938 kB / 0.5726 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.6922, allocations: 435.1 kB / 0.5731 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6922, allocations: 0 / 0.5731 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.6923, allocations: 11.98 kB / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.6923, allocations: 0 / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.6924, allocations: 4 kB / 0.5731 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6924, allocations: 3.953 kB / 0.5731 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6924, allocations: 4.031 kB / 0.5731 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.6928, allocations: 221.9 kB / 0.5733 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.6929, allocations: 92.92 kB / 0.5734 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.693, allocations: 12.33 kB / 0.5734 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.6931, allocations: 3.984 kB / 0.5734 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.6932, allocations: 11.98 kB / 0.5734 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.6932, allocations: 8 kB / 0.5734 GB, free: 5.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.6935, allocations: 174.4 kB / 0.5736 GB, free: 5.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6935, allocations: 0 / 0.5736 GB, free: 5.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.6939, allocations: 39.92 kB / 0.5736 GB, free: 5.215 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.002097/0.696, allocations: 1.19 MB / 0.5748 GB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.6963, allocations: 67.91 kB / 0.5748 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6964, allocations: 0 / 0.5748 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.6965, allocations: 31.92 kB / 0.5749 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.6969, allocations: 31.55 kB / 0.5749 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.699, allocations: 0.9781 MB / 0.5759 GB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.6995, allocations: 0.7121 MB / 0.5766 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.6996, allocations: 43.41 kB / 0.5766 GB, free: 2.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6996, allocations: 3.938 kB / 0.5766 GB, free: 2.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.637/3.337, allocations: 2.649 MB / 0.5792 GB, free: 15.51 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat