Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.001026/0.001026, allocations: 182.9 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.424/1.424, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008868/0.0008868, allocations: 98.84 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.2051/0.2051, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6378, allocations: 87.94 MB / 0.5647 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6382, allocations: 76.89 kB / 0.5648 GB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.6555, allocations: 5.956 MB / 0.5706 GB, free: 6.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6555, allocations: 0 / 0.5706 GB, free: 6.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.6556, allocations: 4 kB / 0.5706 GB, free: 6.922 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007062/0.6563, allocations: 410.5 kB / 0.571 GB, free: 6.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.244e-05/0.6564, allocations: 16.03 kB / 0.571 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.6564, allocations: 34.55 kB / 0.5711 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.6565, allocations: 7.906 kB / 0.5711 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.6569, allocations: 217.8 kB / 0.5713 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.657, allocations: 7.938 kB / 0.5713 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.657, allocations: 6.688 kB / 0.5713 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.6572, allocations: 62.39 kB / 0.5714 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.6572, allocations: 7.906 kB / 0.5714 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6572, allocations: 7.688 kB / 0.5714 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6573, allocations: 0 / 0.5714 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.6574, allocations: 27.86 kB / 0.5714 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.6579, allocations: 280 kB / 0.5717 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.658, allocations: 58.23 kB / 0.5717 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6581, allocations: 4 kB / 0.5717 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.6583, allocations: 70.58 kB / 0.5718 GB, free: 5.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.6583, allocations: 0 / 0.5718 GB, free: 5.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006666/0.6589, allocations: 167.6 kB / 0.572 GB, free: 5.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.659, allocations: 88.55 kB / 0.572 GB, free: 5.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.6592, allocations: 138.7 kB / 0.5722 GB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.6592, allocations: 33.25 kB / 0.5722 GB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.6593, allocations: 94.64 kB / 0.5723 GB, free: 5.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.6594, allocations: 27.31 kB / 0.5723 GB, free: 5.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.6594, allocations: 3.938 kB / 0.5723 GB, free: 5.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6595, allocations: 322.6 kB / 0.5726 GB, free: 4.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.6596, allocations: 19.38 kB / 0.5727 GB, free: 4.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.6596, allocations: 37.25 kB / 0.5727 GB, free: 4.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.6597, allocations: 38.02 kB / 0.5727 GB, free: 4.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6597, allocations: 0 / 0.5727 GB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002452/0.66, allocations: 94.66 kB / 0.5728 GB, free: 4.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.66, allocations: 11.94 kB / 0.5728 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.6601, allocations: 4 kB / 0.5728 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6601, allocations: 0 / 0.5728 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6602, allocations: 15.06 kB / 0.5728 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6602, allocations: 0 / 0.5728 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.6603, allocations: 7.906 kB / 0.5729 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6603, allocations: 15.95 kB / 0.5729 GB, free: 4.574 MB / 378.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 () * Number of clocked 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 0.0001282/0.6604, allocations: 121.9 kB / 0.573 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.6605, allocations: 11.91 kB / 0.573 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.6608, allocations: 126.7 kB / 0.5731 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6608, allocations: 0 / 0.5731 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6608, allocations: 3.938 kB / 0.5731 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.6608, allocations: 4 kB / 0.5731 GB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.6613, allocations: 403.9 kB / 0.5735 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6613, allocations: 7.938 kB / 0.5735 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.6614, allocations: 15.25 kB / 0.5735 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.6614, allocations: 4 kB / 0.5735 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6614, allocations: 0 / 0.5735 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6614, allocations: 0 / 0.5735 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6614, allocations: 4 kB / 0.5735 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.6617, allocations: 221.9 kB / 0.5738 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.6618, allocations: 92.17 kB / 0.5738 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.6618, allocations: 7.188 kB / 0.5738 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.6619, allocations: 3.984 kB / 0.5738 GB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.662, allocations: 4 kB / 0.5739 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.662, allocations: 7.984 kB / 0.5739 GB, free: 3.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.6621, allocations: 125.1 kB / 0.574 GB, free: 3.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6621, allocations: 0 / 0.574 GB, free: 3.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.6625, allocations: 38.42 kB / 0.574 GB, free: 3.402 MB / 378.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) * Number of clocked states: 0 () * 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.001972/0.6644, allocations: 1.229 MB / 0.5752 GB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.6647, allocations: 69.72 kB / 0.5753 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6647, allocations: 0 / 0.5753 GB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.6648, allocations: 30.42 kB / 0.5753 GB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6651, allocations: 26.58 kB / 0.5753 GB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.6665, allocations: 0.7979 MB / 0.5761 GB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.6669, allocations: 0.7043 MB / 0.5768 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.071e-05/0.667, allocations: 16.53 kB / 0.5768 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.6671, allocations: 38.55 kB / 0.5769 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6671, allocations: 0 / 0.5769 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.685, allocations: 3.082 MB / 0.5799 GB, free: 13.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.6852, allocations: 222.4 kB / 0.5801 GB, free: 13.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.519, allocations: 0 / 0.5801 GB, free: 13.25 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat