Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.001598/0.001599, allocations: 183 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.741/1.741, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0009447/0.000945, allocations: 90.55 kB / 267.1 MB, free: 9.266 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.4364/0.4364, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.243e-05/5.276e-05, allocations: 8 kB / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 58.84 MB / 484.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6347, allocations: 87.84 MB / 0.5587 GB, free: 1.125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6351, allocations: 75.47 kB / 0.5588 GB, free: 1.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.6563, allocations: 5.785 MB / 0.5644 GB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6564, allocations: 0 / 0.5644 GB, free: 11.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.6564, allocations: 3.281 kB / 0.5644 GB, free: 11.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006368/0.6571, allocations: 397.3 kB / 0.5648 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.6572, allocations: 8.031 kB / 0.5648 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.6572, allocations: 30.56 kB / 0.5648 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.6573, allocations: 19.16 kB / 0.5648 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.6577, allocations: 202.8 kB / 0.565 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6577, allocations: 4 kB / 0.565 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.6577, allocations: 8 kB / 0.5651 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.6579, allocations: 65.44 kB / 0.5651 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.658, allocations: 3.984 kB / 0.5651 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.658, allocations: 4 kB / 0.5651 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.658, allocations: 0 / 0.5651 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.622e-05/0.6581, allocations: 31.88 kB / 0.5652 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.6586, allocations: 288.9 kB / 0.5654 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.6588, allocations: 54.69 kB / 0.5655 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.6588, allocations: 20.97 kB / 0.5655 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.6589, allocations: 0 / 0.5655 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.659, allocations: 67.34 kB / 0.5656 GB, free: 9.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.6591, allocations: 4 kB / 0.5656 GB, free: 9.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005943/0.6597, allocations: 157.2 kB / 0.5657 GB, free: 9.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.6597, allocations: 81.11 kB / 0.5658 GB, free: 9.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.6599, allocations: 138.2 kB / 0.5659 GB, free: 9.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.66, allocations: 25.7 kB / 0.566 GB, free: 9.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.66, allocations: 96.12 kB / 0.566 GB, free: 9.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.6601, allocations: 27.64 kB / 0.5661 GB, free: 9.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.6601, allocations: 0.8438 kB / 0.5661 GB, free: 9.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6603, allocations: 322.8 kB / 0.5664 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.6603, allocations: 23.98 kB / 0.5664 GB, free: 9.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.6604, allocations: 39.52 kB / 0.5664 GB, free: 9.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.6605, allocations: 23.98 kB / 0.5665 GB, free: 8.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6605, allocations: 0 / 0.5665 GB, free: 8.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.6607, allocations: 97.52 kB / 0.5666 GB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6608, allocations: 7.953 kB / 0.5666 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6608, allocations: 8.062 kB / 0.5666 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6608, allocations: 0 / 0.5666 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6609, allocations: 15.98 kB / 0.5666 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.661, allocations: 3.938 kB / 0.5666 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.661, allocations: 8 kB / 0.5666 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.6611, allocations: 4.188 kB / 0.5666 GB, free: 8.836 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 (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 9.114e-05/0.6612, allocations: 105 kB / 0.5667 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.6612, allocations: 19.83 kB / 0.5667 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.6615, allocations: 114.2 kB / 0.5668 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6615, allocations: 4 kB / 0.5668 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6615, allocations: 0 / 0.5668 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6615, allocations: 3.984 kB / 0.5668 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.6621, allocations: 399.3 kB / 0.5672 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6621, allocations: 0 / 0.5672 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.6622, allocations: 15.98 kB / 0.5672 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.6622, allocations: 0 / 0.5672 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6622, allocations: 3.938 kB / 0.5672 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.6622, allocations: 8.031 kB / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6622, allocations: 272 / 0.5672 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.6625, allocations: 217.9 kB / 0.5675 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.6626, allocations: 93 kB / 0.5675 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.6627, allocations: 8 kB / 0.5675 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.6628, allocations: 8 kB / 0.5676 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.6628, allocations: 3.984 kB / 0.5676 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.6629, allocations: 8 kB / 0.5676 GB, free: 7.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.663, allocations: 120.6 kB / 0.5677 GB, free: 7.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.663, allocations: 0 / 0.5677 GB, free: 7.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.6635, allocations: 39.92 kB / 0.5677 GB, free: 7.578 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 (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.00198/0.6655, allocations: 1.174 MB / 0.5689 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.6657, allocations: 67.91 kB / 0.5689 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6657, allocations: 0 / 0.5689 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.6658, allocations: 27.94 kB / 0.569 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.6662, allocations: 28.98 kB / 0.569 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007487/0.667, allocations: 193.4 kB / 0.5692 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6674, allocations: 0.7043 MB / 0.5699 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.295e-05/0.6674, allocations: 18.33 kB / 0.5699 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.6675, allocations: 35.42 kB / 0.5699 GB, free: 5.332 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6675, allocations: 0 / 0.5699 GB, free: 5.332 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.6859, allocations: 3.103 MB / 0.5729 GB, free: 2.262 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.6861, allocations: 188.3 kB / 0.5731 GB, free: 2.035 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.361, allocations: 0 / 0.5731 GB, free: 2.035 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat