Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",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.002249/0.002248, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001156/0.001156, allocations: 97.23 kB / 270.9 MB, free: 8.367 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.5298/0.5298, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006495, allocations: 12 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1411, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5306/0.6719, allocations: 87.68 MB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.6723, allocations: 75.97 kB / 0.5645 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02458/0.6969, allocations: 5.27 MB / 0.5697 GB, free: 9.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6969, allocations: 0 / 0.5697 GB, free: 9.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.6969, allocations: 0 / 0.5697 GB, free: 9.504 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.0007461/0.6977, allocations: 422.4 kB / 0.5701 GB, free: 9.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.6978, allocations: 12.03 kB / 0.5701 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.6978, allocations: 38.55 kB / 0.5701 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.6979, allocations: 12.91 kB / 0.5701 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.6983, allocations: 217.8 kB / 0.5703 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.6983, allocations: 0 / 0.5703 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.6984, allocations: 11.98 kB / 0.5704 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.6986, allocations: 49.67 kB / 0.5704 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6986, allocations: 0 / 0.5704 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.6986, allocations: 7.938 kB / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.6986, allocations: 1.031 kB / 0.5704 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.6988, allocations: 23.98 kB / 0.5704 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.6993, allocations: 300.8 kB / 0.5707 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.6996, allocations: 58.67 kB / 0.5708 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6996, allocations: 0 / 0.5708 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.6998, allocations: 72.33 kB / 0.5709 GB, free: 8.141 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.6998, allocations: 0 / 0.5709 GB, free: 8.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008181/0.7007, allocations: 180.7 kB / 0.571 GB, free: 7.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.7007, allocations: 55.34 kB / 0.5711 GB, free: 7.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.701, allocations: 169.4 kB / 0.5712 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.7011, allocations: 25.7 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.7012, allocations: 166.6 kB / 0.5714 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.7012, allocations: 27.64 kB / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.7013, allocations: 4 kB / 0.5715 GB, free: 7.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7014, allocations: 314.8 kB / 0.5718 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.7015, allocations: 20 kB / 0.5718 GB, free: 7.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.7016, allocations: 33.7 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.7018, allocations: 27.98 kB / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7018, allocations: 0 / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002951/0.7021, allocations: 98.22 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7021, allocations: 7.984 kB / 0.5719 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.7021, allocations: 8 kB / 0.5719 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7022, allocations: 0 / 0.5719 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7023, allocations: 12 kB / 0.572 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7023, allocations: 3.953 kB / 0.572 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.7024, allocations: 8 kB / 0.572 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.7025, allocations: 7.984 kB / 0.572 GB, free: 6.945 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.0001478/0.7026, allocations: 125.8 kB / 0.5721 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.7027, allocations: 11.94 kB / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004043/0.7031, allocations: 119.6 kB / 0.5722 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7031, allocations: 4 kB / 0.5722 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.7031, allocations: 3.984 kB / 0.5722 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7031, allocations: 3.953 kB / 0.5722 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.7039, allocations: 415.4 kB / 0.5726 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7039, allocations: 4.031 kB / 0.5726 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.704, allocations: 11.94 kB / 0.5726 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.704, allocations: 288 / 0.5726 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.704, allocations: 11.98 kB / 0.5726 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7041, allocations: 3.953 kB / 0.5727 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7041, allocations: 3.938 kB / 0.5727 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.7045, allocations: 218 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.158e-05/0.7046, allocations: 97 kB / 0.573 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.7046, allocations: 3.953 kB / 0.573 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.7047, allocations: 4 kB / 0.573 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.7048, allocations: 11.98 kB / 0.573 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7048, allocations: 4 kB / 0.573 GB, free: 5.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.705, allocations: 140.8 kB / 0.5731 GB, free: 5.652 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.705, allocations: 0 / 0.5731 GB, free: 5.652 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004058/0.7055, allocations: 27.94 kB / 0.5731 GB, free: 5.625 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.002083/0.7076, allocations: 1.209 MB / 0.5743 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.7079, allocations: 59.91 kB / 0.5744 GB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7079, allocations: 3.938 kB / 0.5744 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.708, allocations: 28 kB / 0.5744 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.7084, allocations: 31.95 kB / 0.5744 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.7103, allocations: 0.9054 MB / 0.5753 GB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.7107, allocations: 0.7083 MB / 0.576 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.7109, allocations: 39.36 kB / 0.5761 GB, free: 2.633 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7109, allocations: 0 / 0.5761 GB, free: 2.633 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.753/3.463, allocations: 2.441 MB / 0.5784 GB, free: 204 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat