Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.001474/0.001473, allocations: 182.5 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.789/1.789, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009198/0.0009198, allocations: 88.52 kB / 267 MB, free: 9.277 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.3983/0.3983, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.9e-05, allocations: 8 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5563, allocations: 87.62 MB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.5566, allocations: 77.72 kB / 0.5586 GB, free: 16.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.5701, allocations: 5.404 MB / 0.5638 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5702, allocations: 0 / 0.5638 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.5702, allocations: 4 kB / 0.5638 GB, free: 13.29 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.0004082/0.5706, allocations: 405.2 kB / 0.5642 GB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5706, allocations: 12.03 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.5707, allocations: 34.25 kB / 0.5643 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.5707, allocations: 17.08 kB / 0.5643 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.571, allocations: 214.2 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.571, allocations: 0 / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5711, allocations: 7.5 kB / 0.5645 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.5712, allocations: 54.3 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5712, allocations: 0 / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5712, allocations: 1.375 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5713, allocations: 4 kB / 0.5646 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.212e-05/0.5713, allocations: 27.86 kB / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.5717, allocations: 286 kB / 0.5649 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.5719, allocations: 55.88 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.5719, allocations: 24.72 kB / 0.5649 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.572, allocations: 7.938 kB / 0.5649 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.5721, allocations: 66.66 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/0.5721, allocations: 3.984 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004703/0.5726, allocations: 159.2 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.5726, allocations: 51.41 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.5728, allocations: 187 kB / 0.5654 GB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.5728, allocations: 29.69 kB / 0.5654 GB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.5729, allocations: 99.58 kB / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.5729, allocations: 34.62 kB / 0.5655 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.573, allocations: 3.125 kB / 0.5655 GB, free: 11.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.5731, allocations: 321.5 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.5731, allocations: 20.62 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.5732, allocations: 38.09 kB / 0.5659 GB, free: 11.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.5732, allocations: 23.36 kB / 0.5659 GB, free: 11.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5732, allocations: 0 / 0.5659 GB, free: 11.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000136/0.5734, allocations: 97.59 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5734, allocations: 11.98 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5734, allocations: 0 / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5734, allocations: 0 / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.5735, allocations: 15.94 kB / 0.566 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5735, allocations: 7.953 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.5736, allocations: 3.984 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.5736, allocations: 4 kB / 0.5661 GB, free: 11 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 7e-05/0.5737, allocations: 107.9 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.5737, allocations: 15.84 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5739, allocations: 124.7 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.574, allocations: 0 / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.574, allocations: 4 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.574, allocations: 3.953 kB / 0.5663 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.5744, allocations: 401.9 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5745, allocations: 0 / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.5745, allocations: 16.02 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5745, allocations: 4 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5745, allocations: 8.172 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.5745, allocations: 0 / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5745, allocations: 7.938 kB / 0.5667 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.5747, allocations: 217.2 kB / 0.5669 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.5748, allocations: 96.12 kB / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.5748, allocations: 7.953 kB / 0.567 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.5749, allocations: 3.562 kB / 0.567 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.575, allocations: 7.984 kB / 0.567 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.575, allocations: 8.812 kB / 0.567 GB, free: 9.977 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.5751, allocations: 155.2 kB / 0.5672 GB, free: 9.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5751, allocations: 0 / 0.5672 GB, free: 9.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.5754, allocations: 31.88 kB / 0.5672 GB, free: 9.82 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.001439/0.5768, allocations: 1.143 MB / 0.5683 GB, free: 8.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.577, allocations: 54.38 kB / 0.5684 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.577, allocations: 0 / 0.5684 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.577, allocations: 29.75 kB / 0.5684 GB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.5773, allocations: 26.36 kB / 0.5684 GB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.5778, allocations: 237.3 kB / 0.5687 GB, free: 8.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.578, allocations: 0.7121 MB / 0.5694 GB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.5781, allocations: 16.86 kB / 0.5694 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.5782, allocations: 37.61 kB / 0.5694 GB, free: 7.652 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5782, allocations: 0 / 0.5694 GB, free: 7.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.5938, allocations: 3.082 MB / 0.5724 GB, free: 4.602 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.5939, allocations: 179.6 kB / 0.5726 GB, free: 4.383 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.3, allocations: 64 / 0.5726 GB, free: 4.383 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat