Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.0009663/0.0009664, allocations: 183.7 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.57/1.57, 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.00122/0.00122, allocations: 98.86 kB / 270.2 MB, free: 13.37 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.2465/0.2465, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 58.87 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5883, allocations: 87.71 MB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5886, allocations: 77.39 kB / 0.5646 GB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.6039, allocations: 5.34 MB / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.604, allocations: 0 / 0.5698 GB, free: 7.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.604, allocations: 4 kB / 0.5698 GB, free: 7.422 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.0007196/0.6047, allocations: 423.1 kB / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.6048, allocations: 8.031 kB / 0.5702 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/0.6049, allocations: 30.56 kB / 0.5703 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.6049, allocations: 11.03 kB / 0.5703 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.6053, allocations: 221.6 kB / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.6053, allocations: 0 / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6054, allocations: 4 kB / 0.5705 GB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.6056, allocations: 57.78 kB / 0.5705 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6056, allocations: 0 / 0.5705 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.6056, allocations: 0 / 0.5705 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6056, allocations: 3.938 kB / 0.5705 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.694e-05/0.6057, allocations: 21.48 kB / 0.5706 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.6062, allocations: 302.8 kB / 0.5708 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.6064, allocations: 62.72 kB / 0.5709 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.6064, allocations: 0 / 0.5709 GB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.6066, allocations: 65.52 kB / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.6066, allocations: 0 / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006242/0.6073, allocations: 176.6 kB / 0.5711 GB, free: 5.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.6073, allocations: 59.39 kB / 0.5712 GB, free: 5.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.6075, allocations: 158.7 kB / 0.5713 GB, free: 5.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.6075, allocations: 33.25 kB / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.6076, allocations: 102.5 kB / 0.5715 GB, free: 5.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.6076, allocations: 23.39 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.6077, allocations: 3.75 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6078, allocations: 325.8 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.115e-05/0.6079, allocations: 19.38 kB / 0.5718 GB, free: 5.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.134e-05/0.6079, allocations: 37.45 kB / 0.5719 GB, free: 5.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.982e-05/0.608, allocations: 29.28 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.608, allocations: 0 / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000217/0.6083, allocations: 103.1 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6083, allocations: 4 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6083, allocations: 32 / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6083, allocations: 8 kB / 0.572 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.701e-05/0.6084, allocations: 12 kB / 0.572 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6084, allocations: 3.953 kB / 0.572 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.6085, allocations: 11.48 kB / 0.572 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.6085, allocations: 4 kB / 0.572 GB, free: 5.105 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.0001379/0.6087, allocations: 128.3 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.6087, allocations: 7.906 kB / 0.5722 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.609, allocations: 120.9 kB / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.609, allocations: 0 / 0.5723 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.609, allocations: 3.984 kB / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.609, allocations: 3.953 kB / 0.5723 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.6096, allocations: 415.2 kB / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6096, allocations: 0 / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.6096, allocations: 8 kB / 0.5727 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6096, allocations: 3.938 kB / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6097, allocations: 8.031 kB / 0.5727 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.6097, allocations: 3.953 kB / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6097, allocations: 0 / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.61, allocations: 220.1 kB / 0.5729 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.6101, allocations: 86.7 kB / 0.573 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.6101, allocations: 13.75 kB / 0.573 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.6102, allocations: 9.094 kB / 0.573 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.6103, allocations: 8.75 kB / 0.573 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.6103, allocations: 8.547 kB / 0.573 GB, free: 4.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.6104, allocations: 127.4 kB / 0.5732 GB, free: 3.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6104, allocations: 4 kB / 0.5732 GB, free: 3.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.6107, allocations: 24.19 kB / 0.5732 GB, free: 3.918 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.001702/0.6124, allocations: 1.21 MB / 0.5744 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.6126, allocations: 59.47 kB / 0.5744 GB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6126, allocations: 0 / 0.5744 GB, free: 2.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.6127, allocations: 35.42 kB / 0.5745 GB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.613, allocations: 19.92 kB / 0.5745 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.6145, allocations: 0.8379 MB / 0.5753 GB, free: 1.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.6148, allocations: 0.708 MB / 0.576 GB, free: 1.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.168e-05/0.6149, allocations: 12.66 kB / 0.576 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.615, allocations: 42.61 kB / 0.576 GB, free: 1.078 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.615, allocations: 0 / 0.576 GB, free: 1.078 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.6327, allocations: 2.934 MB / 0.5789 GB, free: 14.16 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.633, allocations: 213.8 kB / 0.5791 GB, free: 13.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.235, allocations: 0 / 0.5791 GB, free: 13.92 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat