Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",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.002254/0.002258, allocations: 186 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.199/2.199, 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.001177/0.001176, allocations: 102.9 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.5407/0.5407, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007992/0.0007994, allocations: 16 kB / 431.5 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.171, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5031/0.6742, allocations: 87.71 MB / 0.5645 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.6746, allocations: 79.95 kB / 0.5646 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.7005, allocations: 5.564 MB / 0.57 GB, free: 9.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7006, allocations: 0.5469 kB / 0.57 GB, free: 9.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.7007, allocations: 4 kB / 0.57 GB, free: 9.27 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.0007482/0.7014, allocations: 442.2 kB / 0.5704 GB, free: 8.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7015, allocations: 8.031 kB / 0.5704 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.7015, allocations: 34.56 kB / 0.5705 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.7016, allocations: 19.33 kB / 0.5705 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.702, allocations: 218.7 kB / 0.5707 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7021, allocations: 4 kB / 0.5707 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.7021, allocations: 0 / 0.5707 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.7023, allocations: 53.67 kB / 0.5707 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7023, allocations: 4 kB / 0.5708 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.7024, allocations: 4 kB / 0.5708 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7024, allocations: 4.969 kB / 0.5708 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.7025, allocations: 23.98 kB / 0.5708 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.7031, allocations: 304.8 kB / 0.5711 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.7034, allocations: 58.67 kB / 0.5711 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.7034, allocations: 4 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.7036, allocations: 71.52 kB / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.846e-06/0.7037, allocations: 0 / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008502/0.7045, allocations: 185.1 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.7046, allocations: 55.39 kB / 0.5714 GB, free: 7.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.705, allocations: 197.8 kB / 0.5716 GB, free: 7.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.705, allocations: 37.64 kB / 0.5717 GB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.7051, allocations: 162.6 kB / 0.5718 GB, free: 7.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.7052, allocations: 27.64 kB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.7052, allocations: 0 / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7054, allocations: 314.8 kB / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.7055, allocations: 23.98 kB / 0.5722 GB, free: 6.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.7056, allocations: 33.7 kB / 0.5722 GB, free: 6.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.7057, allocations: 24 kB / 0.5722 GB, free: 6.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7057, allocations: 0.75 kB / 0.5722 GB, free: 6.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003194/0.7061, allocations: 101.6 kB / 0.5723 GB, free: 6.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.7061, allocations: 4 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7061, allocations: 4 kB / 0.5723 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7061, allocations: 0 / 0.5723 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.7063, allocations: 15.98 kB / 0.5723 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.7063, allocations: 3.953 kB / 0.5723 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.7064, allocations: 11.91 kB / 0.5723 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.7065, allocations: 8.219 kB / 0.5724 GB, free: 6.633 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.0001694/0.7066, allocations: 129.8 kB / 0.5725 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.7067, allocations: 15.84 kB / 0.5725 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.7071, allocations: 123 kB / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7071, allocations: 0 / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7072, allocations: 0 / 0.5726 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.7072, allocations: 11.92 kB / 0.5726 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/0.7079, allocations: 431.3 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.708, allocations: 0 / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.7081, allocations: 8 kB / 0.573 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.7081, allocations: 3.938 kB / 0.573 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.7081, allocations: 8 kB / 0.5731 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7081, allocations: 3.953 kB / 0.5731 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7081, allocations: 0 / 0.5731 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.7086, allocations: 222 kB / 0.5733 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.7087, allocations: 96.92 kB / 0.5734 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.7088, allocations: 7.953 kB / 0.5734 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.7089, allocations: 7.984 kB / 0.5734 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.709, allocations: 4 kB / 0.5734 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.709, allocations: 7.984 kB / 0.5734 GB, free: 5.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.7093, allocations: 174.4 kB / 0.5736 GB, free: 5.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7093, allocations: 0 / 0.5736 GB, free: 5.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003886/0.7097, allocations: 35.92 kB / 0.5736 GB, free: 5.258 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.00216/0.7119, allocations: 1.202 MB / 0.5748 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.7123, allocations: 59.97 kB / 0.5748 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7123, allocations: 0 / 0.5748 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.7124, allocations: 39.98 kB / 0.5749 GB, free: 4.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.7129, allocations: 20.17 kB / 0.5749 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.715, allocations: 0.9711 MB / 0.5758 GB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.7154, allocations: 0.7199 MB / 0.5765 GB, free: 2.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.7156, allocations: 43.53 kB / 0.5766 GB, free: 2.195 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.7156, allocations: 3.938 kB / 0.5766 GB, free: 2.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.868/3.584, allocations: 2.648 MB / 0.5792 GB, free: 15.55 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat