Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.0009553/0.0009553, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.654/1.654, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001035/0.001035, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2496/0.2496, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 58.87 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5993, allocations: 87.68 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5997, allocations: 79.45 kB / 0.5646 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01487/0.6146, allocations: 5.233 MB / 0.5697 GB, free: 7.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.187e-06/0.6147, allocations: 0 / 0.5697 GB, free: 7.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.6147, allocations: 0 / 0.5697 GB, free: 7.539 MB / 378.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.0007523/0.6155, allocations: 422.6 kB / 0.5701 GB, free: 7.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.6155, allocations: 12.03 kB / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.764e-05/0.6156, allocations: 34.56 kB / 0.5701 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.6157, allocations: 7.906 kB / 0.5701 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.616, allocations: 209.8 kB / 0.5703 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.6161, allocations: 11.56 kB / 0.5703 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.6161, allocations: 0 / 0.5703 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.6163, allocations: 56.61 kB / 0.5704 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6163, allocations: 0 / 0.5704 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.6163, allocations: 3.984 kB / 0.5704 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6163, allocations: 3.938 kB / 0.5704 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.6164, allocations: 27.3 kB / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.6169, allocations: 290.7 kB / 0.5707 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.6171, allocations: 64.73 kB / 0.5708 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6171, allocations: 0 / 0.5708 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.6173, allocations: 70.7 kB / 0.5708 GB, free: 6.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.6173, allocations: 0 / 0.5708 GB, free: 6.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005892/0.6179, allocations: 172.4 kB / 0.571 GB, free: 6.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.6179, allocations: 51.41 kB / 0.571 GB, free: 6.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.6181, allocations: 163 kB / 0.5712 GB, free: 5.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.6181, allocations: 33.52 kB / 0.5712 GB, free: 5.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.6182, allocations: 102.4 kB / 0.5713 GB, free: 5.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.6182, allocations: 27.27 kB / 0.5714 GB, free: 5.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.6183, allocations: 4 kB / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6184, allocations: 325.4 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/0.6184, allocations: 15 kB / 0.5717 GB, free: 5.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.6185, allocations: 36.83 kB / 0.5717 GB, free: 5.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.6186, allocations: 26.11 kB / 0.5717 GB, free: 5.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6186, allocations: 192 / 0.5717 GB, free: 5.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.6188, allocations: 106.8 kB / 0.5718 GB, free: 5.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6188, allocations: 7.938 kB / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6188, allocations: 0 / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6188, allocations: 0 / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.6189, allocations: 19.98 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6189, allocations: 3.953 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.619, allocations: 7.375 kB / 0.5719 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.619, allocations: 0 / 0.5719 GB, free: 5.23 MB / 378.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.0001098/0.6191, allocations: 133.2 kB / 0.572 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.6192, allocations: 15.94 kB / 0.572 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.6194, allocations: 118.7 kB / 0.5721 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6194, allocations: 4 kB / 0.5721 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6194, allocations: 0 / 0.5721 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.6194, allocations: 3.953 kB / 0.5721 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.62, allocations: 406.6 kB / 0.5725 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.62, allocations: 384 / 0.5725 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.62, allocations: 20.02 kB / 0.5726 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6201, allocations: 7.938 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6201, allocations: 1.25 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.6201, allocations: 7.953 kB / 0.5726 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6201, allocations: 0 / 0.5726 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.6204, allocations: 227.6 kB / 0.5728 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.6205, allocations: 86.77 kB / 0.5729 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.6205, allocations: 5.453 kB / 0.5729 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.6206, allocations: 9.234 kB / 0.5729 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.6206, allocations: 4.938 kB / 0.5729 GB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6207, allocations: 4.625 kB / 0.5729 GB, free: 4.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.6208, allocations: 132 kB / 0.573 GB, free: 4.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6208, allocations: 0 / 0.573 GB, free: 4.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000258/0.6211, allocations: 27.38 kB / 0.573 GB, free: 4.031 MB / 378.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.001519/0.6226, allocations: 1.201 MB / 0.5742 GB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.6228, allocations: 56.47 kB / 0.5743 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6228, allocations: 0 / 0.5743 GB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.6229, allocations: 38.3 kB / 0.5743 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6231, allocations: 19.17 kB / 0.5743 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6243, allocations: 0.8426 MB / 0.5752 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.6247, allocations: 0.7041 MB / 0.5758 GB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.6247, allocations: 20.95 kB / 0.5759 GB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.6248, allocations: 40.67 kB / 0.5759 GB, free: 1.195 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6248, allocations: 0 / 0.5759 GB, free: 1.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.6394, allocations: 2.927 MB / 0.5788 GB, free: 14.29 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.6396, allocations: 213.8 kB / 0.579 GB, free: 14.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.253, allocations: 0 / 0.579 GB, free: 14.05 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat