Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",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.00155/0.00155, 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 2.201/2.201, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001123/0.001123, allocations: 96.41 kB / 270.9 MB, free: 8.391 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.5657/0.5657, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004981, allocations: 20 kB / 431.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5508/0.6819, allocations: 87.55 MB / 0.5643 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.6823, allocations: 71.95 kB / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02572/0.708, allocations: 5.539 MB / 0.5698 GB, free: 9.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7081, allocations: 0 / 0.5698 GB, free: 9.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.7081, allocations: 4 kB / 0.5698 GB, free: 9.453 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008079/0.7089, allocations: 446.7 kB / 0.5702 GB, free: 8.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.709, allocations: 12.03 kB / 0.5703 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.709, allocations: 34.56 kB / 0.5703 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.7091, allocations: 19.23 kB / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.7096, allocations: 228.9 kB / 0.5705 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.7096, allocations: 0 / 0.5705 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.7096, allocations: 4 kB / 0.5705 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.7098, allocations: 49.67 kB / 0.5706 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.7099, allocations: 6.844 kB / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7099, allocations: 0 / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.7099, allocations: 0 / 0.5706 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.71, allocations: 21.02 kB / 0.5706 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.7103, allocations: 193.6 kB / 0.5708 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.7106, allocations: 58.61 kB / 0.5708 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.7106, allocations: 4 kB / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.7109, allocations: 67.41 kB / 0.5709 GB, free: 8.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.735e-06/0.7109, allocations: 0 / 0.5709 GB, free: 8.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004483/0.7113, allocations: 105.7 kB / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.7114, allocations: 55.41 kB / 0.5711 GB, free: 7.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.7118, allocations: 237.6 kB / 0.5713 GB, free: 7.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.7119, allocations: 25.7 kB / 0.5713 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.712, allocations: 174.6 kB / 0.5715 GB, free: 7.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.712, allocations: 11.89 kB / 0.5715 GB, free: 7.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.712, allocations: 0 / 0.5715 GB, free: 7.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7122, allocations: 314.8 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.038e-05/0.7123, allocations: 12 kB / 0.5718 GB, free: 7.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.7124, allocations: 33.64 kB / 0.5718 GB, free: 7.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.7125, allocations: 27.94 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7126, allocations: 0 / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002584/0.7128, allocations: 73.59 kB / 0.5719 GB, free: 7.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.7129, allocations: 8 kB / 0.5719 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7129, allocations: 3.938 kB / 0.5719 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.7129, allocations: 0 / 0.5719 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.713, allocations: 11.98 kB / 0.572 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.7131, allocations: 4 kB / 0.572 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.7132, allocations: 0 / 0.572 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.7132, allocations: 4 kB / 0.572 GB, free: 7.035 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 (7): * Single equations (assignments): 7 * 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.0001776/0.7134, allocations: 145.8 kB / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.7135, allocations: 11.81 kB / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.7138, allocations: 103.6 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7138, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7138, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7139, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.7141, allocations: 209.5 kB / 0.5724 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7141, allocations: 3.953 kB / 0.5724 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.7142, allocations: 11.98 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.7142, allocations: 0 / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.7143, allocations: 4 kB / 0.5724 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.7143, allocations: 4 kB / 0.5724 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7143, allocations: 0 / 0.5724 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.7146, allocations: 117 kB / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.7147, allocations: 104.9 kB / 0.5726 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.7148, allocations: 12 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.7149, allocations: 8 kB / 0.5727 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.7149, allocations: 3.984 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.715, allocations: 7.938 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.7153, allocations: 196.2 kB / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7153, allocations: 0 / 0.5729 GB, free: 6.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000329/0.7156, allocations: 27.98 kB / 0.5729 GB, free: 5.988 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: 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 (6): * Single equations (assignments): 4 * 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.001884/0.7175, allocations: 0.9577 MB / 0.5738 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.7179, allocations: 47.92 kB / 0.5739 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7179, allocations: 4 kB / 0.5739 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.718, allocations: 19.98 kB / 0.5739 GB, free: 5.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.7184, allocations: 25.39 kB / 0.5739 GB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.7205, allocations: 1.008 MB / 0.5749 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.7209, allocations: 0.7199 MB / 0.5756 GB, free: 3.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.7211, allocations: 39.42 kB / 0.5756 GB, free: 3.164 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7211, allocations: 0 / 0.5756 GB, free: 3.164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.746/3.467, allocations: 2.607 MB / 0.5782 GB, free: 0.5625 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat