Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001234/0.001234, allocations: 182.5 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.775/1.775, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008815/0.0008814, allocations: 90.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.2216/0.2216, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003466, allocations: 11.98 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 58.85 MB / 490.3 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4768, allocations: 88.71 MB / 0.5655 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4771, allocations: 73.28 kB / 0.5656 GB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.4899, allocations: 4.264 MB / 0.5697 GB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4899, allocations: 0 / 0.5697 GB, free: 7.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.49, allocations: 8 kB / 0.5697 GB, free: 7.363 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006808/0.4907, allocations: 476 kB / 0.5702 GB, free: 6.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4907, allocations: 8.031 kB / 0.5702 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.4908, allocations: 42.42 kB / 0.5702 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.4908, allocations: 15.81 kB / 0.5702 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.4912, allocations: 235.9 kB / 0.5705 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4912, allocations: 4 kB / 0.5705 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.4913, allocations: 7.188 kB / 0.5705 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.4915, allocations: 113.6 kB / 0.5706 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4915, allocations: 0 / 0.5706 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4916, allocations: 4 kB / 0.5706 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4916, allocations: 4 kB / 0.5706 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.4918, allocations: 48.53 kB / 0.5706 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.4924, allocations: 0.518 MB / 0.5711 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.4928, allocations: 100.3 kB / 0.5712 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.4928, allocations: 0.5 kB / 0.5712 GB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.493, allocations: 90.02 kB / 0.5713 GB, free: 5.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.903e-06/0.4931, allocations: 0 / 0.5713 GB, free: 5.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004282/0.4935, allocations: 150 kB / 0.5715 GB, free: 5.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.4935, allocations: 61.97 kB / 0.5715 GB, free: 5.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4937, allocations: 172.3 kB / 0.5717 GB, free: 5.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4937, allocations: 25.7 kB / 0.5717 GB, free: 5.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.4938, allocations: 127.7 kB / 0.5718 GB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.4939, allocations: 23.22 kB / 0.5719 GB, free: 5.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.4939, allocations: 3.312 kB / 0.5719 GB, free: 5.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.494, allocations: 325.6 kB / 0.5722 GB, free: 4.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.4941, allocations: 42.59 kB / 0.5722 GB, free: 4.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.751e-05/0.4942, allocations: 63 kB / 0.5723 GB, free: 4.703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.551e-05/0.4943, allocations: 35.17 kB / 0.5723 GB, free: 4.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4943, allocations: 8 kB / 0.5723 GB, free: 4.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002687/0.4946, allocations: 139.7 kB / 0.5725 GB, free: 4.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4946, allocations: 4 kB / 0.5725 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4946, allocations: 0 / 0.5725 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4946, allocations: 11.94 kB / 0.5725 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4947, allocations: 24.03 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4948, allocations: 12.05 kB / 0.5725 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.638e-05/0.4948, allocations: 15.53 kB / 0.5725 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4949, allocations: 4 kB / 0.5725 GB, free: 4.484 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.635e-05/0.495, allocations: 135.5 kB / 0.5727 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.495, allocations: 15.89 kB / 0.5727 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4953, allocations: 136 kB / 0.5728 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.4953, allocations: 3.953 kB / 0.5728 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4953, allocations: 3.938 kB / 0.5728 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4953, allocations: 0 / 0.5728 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.4955, allocations: 219.6 kB / 0.573 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4955, allocations: 0 / 0.573 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/0.4956, allocations: 16 kB / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4956, allocations: 0 / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4956, allocations: 3.562 kB / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4956, allocations: 0 / 0.573 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4956, allocations: 7.953 kB / 0.573 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.496, allocations: 196.4 kB / 0.5732 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4961, allocations: 89.03 kB / 0.5733 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4961, allocations: 7.438 kB / 0.5733 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.4962, allocations: 8.062 kB / 0.5733 GB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.4963, allocations: 7.984 kB / 0.5733 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.4963, allocations: 11.52 kB / 0.5733 GB, free: 3.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4964, allocations: 138.9 kB / 0.5735 GB, free: 3.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4964, allocations: 0 / 0.5735 GB, free: 3.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.4967, allocations: 47.27 kB / 0.5735 GB, free: 3.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001318/0.498, allocations: 1.049 MB / 0.5745 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.4982, allocations: 87.58 kB / 0.5746 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4983, allocations: 4.062 kB / 0.5746 GB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.4984, allocations: 44.42 kB / 0.5747 GB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4986, allocations: 34.39 kB / 0.5747 GB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.5, allocations: 1.457 MB / 0.5761 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5002, allocations: 0.7229 MB / 0.5768 GB, free: 200 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.5003, allocations: 25.05 kB / 0.5769 GB, free: 176 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.5004, allocations: 44.84 kB / 0.5769 GB, free: 152 kB / 378.7 MB Notification: Performance of SimCode: time 1.664e-06/0.5004, allocations: 0 / 0.5769 GB, free: 152 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.5134, allocations: 3.303 MB / 0.5801 GB, free: 12.87 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.5136, allocations: 209.8 kB / 0.5803 GB, free: 12.63 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.106, allocations: 12 kB / 0.5803 GB, free: 12.62 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat