Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001112/0.001112, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.512/1.512, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008468/0.0008467, allocations: 88.83 kB / 267 MB, free: 9.262 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.3658/0.3658, allocations: 43.48 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.294e-05, allocations: 4 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1263, allocations: 58.85 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4084/0.5347, allocations: 87.65 MB / 0.5585 GB, free: 16.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.535, allocations: 72.28 kB / 0.5586 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.5505, allocations: 5.946 MB / 0.5644 GB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5505, allocations: 0 / 0.5644 GB, free: 12.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.5505, allocations: 3.938 kB / 0.5644 GB, free: 12.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004206/0.551, allocations: 423 kB / 0.5648 GB, free: 12.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.551, allocations: 8.031 kB / 0.5648 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.5511, allocations: 38 kB / 0.5648 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.5511, allocations: 19.25 kB / 0.5649 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.5514, allocations: 234.4 kB / 0.5651 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5514, allocations: 8 kB / 0.5651 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.5515, allocations: 4 kB / 0.5651 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.5516, allocations: 70.91 kB / 0.5652 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5516, allocations: 0 / 0.5652 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5516, allocations: 1.375 kB / 0.5652 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5516, allocations: 0 / 0.5652 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.5517, allocations: 35.73 kB / 0.5652 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.5521, allocations: 339.8 kB / 0.5655 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.5523, allocations: 72.97 kB / 0.5656 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.5523, allocations: 27.66 kB / 0.5656 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.5523, allocations: 160 / 0.5656 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.5525, allocations: 83.5 kB / 0.5657 GB, free: 11.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.5525, allocations: 0 / 0.5657 GB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004994/0.553, allocations: 214.1 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.553, allocations: 51.41 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.5532, allocations: 225.7 kB / 0.5662 GB, free: 10.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.5533, allocations: 29.7 kB / 0.5662 GB, free: 10.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.5533, allocations: 109.2 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.5533, allocations: 38.61 kB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5534, allocations: 7.938 kB / 0.5663 GB, free: 10.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.5534, allocations: 325 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.5535, allocations: 33.44 kB / 0.5667 GB, free: 10.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.5535, allocations: 49.7 kB / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.5536, allocations: 30.42 kB / 0.5668 GB, free: 10.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5536, allocations: 0 / 0.5668 GB, free: 10.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.5538, allocations: 127.6 kB / 0.5669 GB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.5538, allocations: 12.03 kB / 0.5669 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5538, allocations: 0 / 0.5669 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5538, allocations: 3.953 kB / 0.5669 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5539, allocations: 33.27 kB / 0.5669 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5539, allocations: 0 / 0.5669 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.018e-05/0.554, allocations: 7.938 kB / 0.5669 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.554, allocations: 4 kB / 0.5669 GB, free: 10.26 MB / 394.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 (13): * Single equations (assignments): 13 * 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 5.778e-05/0.5541, allocations: 113.6 kB / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.5541, allocations: 15.81 kB / 0.5671 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.5544, allocations: 165.7 kB / 0.5672 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5544, allocations: 4 kB / 0.5672 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5544, allocations: 3.953 kB / 0.5672 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5544, allocations: 0 / 0.5672 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.5548, allocations: 481.7 kB / 0.5677 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5548, allocations: 4 kB / 0.5677 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.5549, allocations: 16.03 kB / 0.5677 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5549, allocations: 11.94 kB / 0.5677 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.5549, allocations: 2.375 kB / 0.5677 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5549, allocations: 0 / 0.5677 GB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.555, allocations: 4 kB / 0.5677 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.5552, allocations: 254 kB / 0.568 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.5552, allocations: 104.7 kB / 0.5681 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.5553, allocations: 7.984 kB / 0.5681 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.5554, allocations: 7.672 kB / 0.5681 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.5554, allocations: 13.2 kB / 0.5681 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5554, allocations: 8 kB / 0.5681 GB, free: 9.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.5556, allocations: 184.8 kB / 0.5683 GB, free: 8.949 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5556, allocations: 4 kB / 0.5683 GB, free: 8.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.5558, allocations: 43.12 kB / 0.5683 GB, free: 8.91 MB / 394.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 (13): * Single equations (assignments): 11 * 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.001168/0.557, allocations: 1.169 MB / 0.5695 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.5572, allocations: 97.98 kB / 0.5696 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5572, allocations: 0 / 0.5696 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.5573, allocations: 46.55 kB / 0.5696 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.5576, allocations: 24.81 kB / 0.5696 GB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.5581, allocations: 304.1 kB / 0.5699 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.5583, allocations: 0.7228 MB / 0.5706 GB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.5584, allocations: 28.69 kB / 0.5706 GB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.5585, allocations: 53.64 kB / 0.5707 GB, free: 6.586 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5585, allocations: 4 kB / 0.5707 GB, free: 6.582 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.5724, allocations: 3.679 MB / 0.5743 GB, free: 2.941 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.5726, allocations: 182.6 kB / 0.5745 GB, free: 2.719 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.309, allocations: 0 / 0.5745 GB, free: 2.719 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat