Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.001195/0.001195, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.799/1.799, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001003/0.001003, allocations: 94.86 kB / 270.2 MB, free: 13.38 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.2288/0.2288, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003133, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 58.87 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4802, allocations: 87.71 MB / 0.5645 GB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.4805, allocations: 79.83 kB / 0.5646 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02273/0.5033, allocations: 5.42 MB / 0.5699 GB, free: 7.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5034, allocations: 0 / 0.5699 GB, free: 7.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.5034, allocations: 7.938 kB / 0.5699 GB, free: 7.395 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.0007698/0.5042, allocations: 424.2 kB / 0.5703 GB, free: 6.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.5043, allocations: 8.031 kB / 0.5703 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.473e-05/0.5043, allocations: 38 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.5044, allocations: 11.81 kB / 0.5704 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.5048, allocations: 222 kB / 0.5706 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5049, allocations: 0 / 0.5706 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.5049, allocations: 7.25 kB / 0.5706 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.5051, allocations: 56.16 kB / 0.5706 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5051, allocations: 0 / 0.5706 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.5052, allocations: 0 / 0.5706 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.5052, allocations: 3.938 kB / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.5053, allocations: 23.73 kB / 0.5707 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.5059, allocations: 297 kB / 0.5709 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.5062, allocations: 60.72 kB / 0.571 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.5062, allocations: 3.938 kB / 0.571 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.5064, allocations: 77.3 kB / 0.5711 GB, free: 6.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.5064, allocations: 4 kB / 0.5711 GB, free: 6.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008121/0.5073, allocations: 185.2 kB / 0.5713 GB, free: 5.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.5073, allocations: 58.66 kB / 0.5713 GB, free: 5.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.5076, allocations: 173.7 kB / 0.5715 GB, free: 5.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.5077, allocations: 25.7 kB / 0.5715 GB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.5078, allocations: 104.4 kB / 0.5716 GB, free: 5.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.5078, allocations: 27.14 kB / 0.5716 GB, free: 5.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5079, allocations: 4 kB / 0.5716 GB, free: 5.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.508, allocations: 329.3 kB / 0.5719 GB, free: 5.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.5082, allocations: 18.73 kB / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5083, allocations: 36.64 kB / 0.572 GB, free: 5.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.5084, allocations: 26.83 kB / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5084, allocations: 0 / 0.572 GB, free: 5.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003167/0.5087, allocations: 103.4 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5088, allocations: 4 kB / 0.5721 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5088, allocations: 4.031 kB / 0.5721 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5088, allocations: 0 / 0.5721 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.509, allocations: 19.94 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.509, allocations: 7.938 kB / 0.5722 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.5091, allocations: 7.875 kB / 0.5722 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5091, allocations: 0 / 0.5722 GB, free: 5.035 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.0001385/0.5093, allocations: 129.3 kB / 0.5723 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.5093, allocations: 18.92 kB / 0.5723 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.5097, allocations: 120.7 kB / 0.5724 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5098, allocations: 4 kB / 0.5724 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5098, allocations: 0 / 0.5724 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.5098, allocations: 3.953 kB / 0.5724 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.5105, allocations: 407.4 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5106, allocations: 3.984 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.5106, allocations: 12.56 kB / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.5107, allocations: 32 / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5107, allocations: 5.062 kB / 0.5728 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.5107, allocations: 11.89 kB / 0.5728 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5107, allocations: 0 / 0.5728 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.5111, allocations: 223.8 kB / 0.5731 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.5112, allocations: 87.02 kB / 0.5731 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.5113, allocations: 13.2 kB / 0.5732 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.5114, allocations: 9.234 kB / 0.5732 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.5115, allocations: 8.938 kB / 0.5732 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.5115, allocations: 1 kB / 0.5732 GB, free: 3.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.5118, allocations: 157.8 kB / 0.5733 GB, free: 3.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5118, allocations: 0 / 0.5733 GB, free: 3.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005087/0.5123, allocations: 31.75 kB / 0.5734 GB, free: 3.812 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.002376/0.5147, allocations: 1.208 MB / 0.5745 GB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.515, allocations: 63.28 kB / 0.5746 GB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.515, allocations: 0 / 0.5746 GB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.5151, allocations: 30.58 kB / 0.5746 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.5155, allocations: 34.61 kB / 0.5747 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.5174, allocations: 0.8851 MB / 0.5755 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.5178, allocations: 0.7082 MB / 0.5762 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.5179, allocations: 19.92 kB / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.518, allocations: 36.67 kB / 0.5763 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of SimCode: time 4.157e-06/0.5181, allocations: 112 / 0.5763 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.5374, allocations: 3.083 MB / 0.5793 GB, free: 13.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/0.5378, allocations: 209.8 kB / 0.5795 GB, free: 13.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.12, allocations: 0 / 0.5795 GB, free: 13.64 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat