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.001931/0.001931, allocations: 182.9 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.594/1.594, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008269/0.0008269, allocations: 93.28 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.3904/0.3904, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.166e-05/7.191e-05, allocations: 7.984 kB / 425.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5412, allocations: 87.84 MB / 0.5587 GB, free: 1.117 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5415, allocations: 74.22 kB / 0.5588 GB, free: 1.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.5578, allocations: 5.78 MB / 0.5644 GB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5578, allocations: 0 / 0.5644 GB, free: 11.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5578, allocations: 0 / 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.0005419/0.5584, allocations: 400 kB / 0.5648 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5585, allocations: 8.031 kB / 0.5648 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.5585, allocations: 30.56 kB / 0.5648 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.5586, allocations: 15.33 kB / 0.5648 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.559, allocations: 206.8 kB / 0.565 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.559, allocations: 8 kB / 0.565 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.559, allocations: 7.984 kB / 0.5651 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.5592, allocations: 72.77 kB / 0.5651 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5593, allocations: 0 / 0.5651 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5593, allocations: 0 / 0.5651 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5593, allocations: 4 kB / 0.5651 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.5594, allocations: 19.94 kB / 0.5651 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.5599, allocations: 288.9 kB / 0.5654 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.5601, allocations: 54.69 kB / 0.5655 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.555e-05/0.5601, allocations: 24.8 kB / 0.5655 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5601, allocations: 0 / 0.5655 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.5603, allocations: 64.81 kB / 0.5656 GB, free: 9.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.5603, allocations: 7.938 kB / 0.5656 GB, free: 9.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005274/0.5609, allocations: 149.2 kB / 0.5657 GB, free: 9.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.561, allocations: 85.11 kB / 0.5658 GB, free: 9.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.5612, allocations: 137 kB / 0.5659 GB, free: 9.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5612, allocations: 25.7 kB / 0.5659 GB, free: 9.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.5613, allocations: 96.12 kB / 0.566 GB, free: 9.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.5613, allocations: 35.56 kB / 0.5661 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.5613, allocations: 0 / 0.5661 GB, free: 9.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5615, allocations: 326.8 kB / 0.5664 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.5616, allocations: 19.98 kB / 0.5664 GB, free: 9.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.5616, allocations: 35.23 kB / 0.5664 GB, free: 9.008 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.5617, allocations: 23.98 kB / 0.5665 GB, free: 8.984 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5617, allocations: 4 kB / 0.5665 GB, free: 8.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.5619, allocations: 93.53 kB / 0.5666 GB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5619, allocations: 7.953 kB / 0.5666 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5619, allocations: 4.25 kB / 0.5666 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5619, allocations: 4 kB / 0.5666 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.5621, allocations: 19.92 kB / 0.5666 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.5621, allocations: 0 / 0.5666 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.5621, allocations: 8 kB / 0.5666 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.5622, allocations: 4 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.022e-05/0.5623, allocations: 108.9 kB / 0.5667 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.5623, allocations: 15.89 kB / 0.5667 GB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.5625, allocations: 118.3 kB / 0.5668 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5625, allocations: 0 / 0.5668 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5626, allocations: 4 kB / 0.5668 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5626, allocations: 3.984 kB / 0.5668 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.5631, allocations: 399.2 kB / 0.5672 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5631, allocations: 0 / 0.5672 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.5631, allocations: 12.17 kB / 0.5672 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5631, allocations: 4 kB / 0.5672 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.5632, allocations: 4 kB / 0.5672 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5632, allocations: 7.969 kB / 0.5672 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5632, allocations: 4 kB / 0.5672 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.5635, allocations: 213.9 kB / 0.5675 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.5635, allocations: 93 kB / 0.5675 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.5636, allocations: 4 kB / 0.5675 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.5637, allocations: 4 kB / 0.5675 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.5637, allocations: 11.98 kB / 0.5676 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.5637, allocations: 4 kB / 0.5676 GB, free: 7.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.5638, allocations: 117.3 kB / 0.5677 GB, free: 7.621 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5638, allocations: 0 / 0.5677 GB, free: 7.621 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.5641, allocations: 39.92 kB / 0.5677 GB, free: 7.582 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.001583/0.5657, allocations: 1.184 MB / 0.5689 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.5659, allocations: 59.92 kB / 0.5689 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5659, allocations: 4 kB / 0.5689 GB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.99e-05/0.566, allocations: 24 kB / 0.569 GB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5663, allocations: 33.23 kB / 0.569 GB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.5669, allocations: 197.3 kB / 0.5692 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.5673, allocations: 0.7004 MB / 0.5699 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.5674, allocations: 18.02 kB / 0.5699 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.5674, allocations: 31.42 kB / 0.5699 GB, free: 5.328 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5675, allocations: 0 / 0.5699 GB, free: 5.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.5859, allocations: 3.107 MB / 0.5729 GB, free: 2.254 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.5862, allocations: 180.3 kB / 0.5731 GB, free: 2.035 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.257, allocations: 0 / 0.5731 GB, free: 2.035 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