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.0009412/0.0009411, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009067/0.0009066, allocations: 86.58 kB / 261.7 MB, free: 1.684 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.1941/0.1941, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.285e-05, allocations: 8 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.0979, allocations: 58.86 MB / 477.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4674, allocations: 86.92 MB / 0.5509 GB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4677, allocations: 78.17 kB / 0.551 GB, free: 7.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.4799, allocations: 5.18 MB / 0.5561 GB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4799, allocations: 0 / 0.5561 GB, free: 3.566 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4799, allocations: 4 kB / 0.5561 GB, free: 3.562 MB / 362.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.0003289/0.4803, allocations: 398.6 kB / 0.5564 GB, free: 3.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4803, allocations: 12.03 kB / 0.5564 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.4803, allocations: 11.89 kB / 0.5565 GB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.4806, allocations: 210.1 kB / 0.5567 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4806, allocations: 0 / 0.5567 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.4806, allocations: 7.922 kB / 0.5567 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.408e-05/0.4807, allocations: 23.25 kB / 0.5567 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/0.4808, allocations: 49.61 kB / 0.5567 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4808, allocations: 4 kB / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4808, allocations: 0 / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4808, allocations: 0 / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.4811, allocations: 272.4 kB / 0.557 GB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.205e-05/0.4812, allocations: 54.12 kB / 0.5571 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.4812, allocations: 20.8 kB / 0.5571 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.4812, allocations: 0 / 0.5571 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/0.4813, allocations: 66.83 kB / 0.5571 GB, free: 2.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4813, allocations: 3.938 kB / 0.5571 GB, free: 2.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003358/0.4817, allocations: 144.3 kB / 0.5573 GB, free: 2.246 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.4817, allocations: 51.41 kB / 0.5573 GB, free: 2.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4818, allocations: 156.5 kB / 0.5575 GB, free: 2.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.4818, allocations: 29.7 kB / 0.5575 GB, free: 2.008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.4819, allocations: 103.6 kB / 0.5576 GB, free: 1.914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.4819, allocations: 27.52 kB / 0.5576 GB, free: 1.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4819, allocations: 0 / 0.5576 GB, free: 1.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.482, allocations: 318.6 kB / 0.5579 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.482, allocations: 19.86 kB / 0.558 GB, free: 1.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.482, allocations: 33.22 kB / 0.558 GB, free: 1.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.4821, allocations: 19.92 kB / 0.558 GB, free: 1.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4821, allocations: 4 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001073/0.4822, allocations: 92.86 kB / 0.5581 GB, free: 1.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4822, allocations: 8 kB / 0.5581 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4822, allocations: 0 / 0.5581 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4822, allocations: 0 / 0.5581 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.4823, allocations: 15.98 kB / 0.5581 GB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4823, allocations: 4 kB / 0.5581 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.4824, allocations: 0 / 0.5581 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4824, allocations: 7.953 kB / 0.5581 GB, free: 1.402 MB / 362.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 () * 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 4.914e-05/0.4825, allocations: 113 kB / 0.5582 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000105/0.4826, allocations: 92.64 kB / 0.5583 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.4826, allocations: 11.81 kB / 0.5583 GB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.4828, allocations: 118 kB / 0.5584 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.4828, allocations: 0 / 0.5584 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4828, allocations: 3.953 kB / 0.5585 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4828, allocations: 3.984 kB / 0.5585 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.4831, allocations: 370 kB / 0.5588 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4831, allocations: 0 / 0.5588 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.4831, allocations: 15.98 kB / 0.5588 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4831, allocations: 0 / 0.5588 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4831, allocations: 0 / 0.5588 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4831, allocations: 7.953 kB / 0.5588 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4831, allocations: 0 / 0.5588 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.4833, allocations: 217 kB / 0.559 GB, free: 476 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.4833, allocations: 96.69 kB / 0.5591 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4833, allocations: 3.953 kB / 0.5591 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.4834, allocations: 4 kB / 0.5591 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.4834, allocations: 7.984 kB / 0.5591 GB, free: 348 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4835, allocations: 4 kB / 0.5592 GB, free: 344 kB / 362.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.4835, allocations: 123.5 kB / 0.5593 GB, free: 236 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4835, allocations: 0 / 0.5593 GB, free: 236 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.4838, allocations: 39.8 kB / 0.5593 GB, free: 200 kB / 362.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) * 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.001118/0.4849, allocations: 1.099 MB / 0.5604 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.485, allocations: 55.23 kB / 0.5604 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.485, allocations: 0 / 0.5604 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.4851, allocations: 31.75 kB / 0.5605 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4853, allocations: 19.86 kB / 0.5605 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.4858, allocations: 204.7 kB / 0.5607 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.4861, allocations: 0.7067 MB / 0.5614 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.4861, allocations: 20.92 kB / 0.5614 GB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.4862, allocations: 33.92 kB / 0.5614 GB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4862, allocations: 0 / 0.5614 GB, free: 14.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.5079, allocations: 2.576 MB / 0.5639 GB, free: 11.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.5082, allocations: 170.2 kB / 0.5641 GB, free: 11.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.953, allocations: 3.938 kB / 0.5641 GB, free: 11.3 MB / 378.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