Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.001805/0.001805, allocations: 182.8 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.782/1.782, 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.001034/0.001034, allocations: 84.28 kB / 267 MB, free: 9.285 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.4984/0.4984, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.123e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.6201, allocations: 87.62 MB / 0.5585 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6204, allocations: 81.05 kB / 0.5586 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.6357, allocations: 5.408 MB / 0.5638 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6357, allocations: 0 / 0.5638 GB, free: 13.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.6358, allocations: 4 kB / 0.5638 GB, free: 13.33 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.0004655/0.6362, allocations: 405.5 kB / 0.5642 GB, free: 12.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.6363, allocations: 12.03 kB / 0.5642 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.6363, allocations: 30.56 kB / 0.5643 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.6364, allocations: 19.33 kB / 0.5643 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6367, allocations: 214.9 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.6367, allocations: 3.938 kB / 0.5645 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.6368, allocations: 7.984 kB / 0.5645 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.6369, allocations: 48.25 kB / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6369, allocations: 0 / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.6369, allocations: 4.625 kB / 0.5645 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6369, allocations: 4 kB / 0.5646 GB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.91e-05/0.637, allocations: 22.8 kB / 0.5646 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.6373, allocations: 292.6 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.6375, allocations: 52.83 kB / 0.5649 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.6375, allocations: 19.97 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.6375, allocations: 0 / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.6377, allocations: 78.08 kB / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.6377, allocations: 0 / 0.565 GB, free: 12.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004477/0.6381, allocations: 158.8 kB / 0.5651 GB, free: 11.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6382, allocations: 51.41 kB / 0.5652 GB, free: 11.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.6384, allocations: 189.8 kB / 0.5654 GB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6384, allocations: 25.7 kB / 0.5654 GB, free: 11.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.6385, allocations: 104.8 kB / 0.5655 GB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.6385, allocations: 30.27 kB / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.6385, allocations: 0 / 0.5655 GB, free: 11.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6386, allocations: 325.3 kB / 0.5658 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.6387, allocations: 22.5 kB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.6388, allocations: 41.61 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.6388, allocations: 18.81 kB / 0.5659 GB, free: 11.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.6388, allocations: 0 / 0.5659 GB, free: 11.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/0.639, allocations: 102 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.639, allocations: 9.094 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.639, allocations: 0 / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.6391, allocations: 0 / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.6392, allocations: 12 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.6392, allocations: 7.953 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.6392, allocations: 3.984 kB / 0.566 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.6393, allocations: 4 kB / 0.5661 GB, free: 11.03 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 0.0001006/0.6394, allocations: 109.2 kB / 0.5662 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.6394, allocations: 15.84 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.6397, allocations: 122.6 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.6397, allocations: 1.312 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6397, allocations: 0 / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6397, allocations: 7.953 kB / 0.5663 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.6401, allocations: 403.8 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6402, allocations: 0 / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.6402, allocations: 15.95 kB / 0.5667 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6402, allocations: 11.98 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6402, allocations: 7.266 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6402, allocations: 0 / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.6403, allocations: 4 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.6405, allocations: 215.5 kB / 0.5669 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.6405, allocations: 96.94 kB / 0.567 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.6406, allocations: 15.14 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.6407, allocations: 0 / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.6407, allocations: 7.984 kB / 0.567 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.6407, allocations: 4 kB / 0.567 GB, free: 9.996 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.6408, allocations: 156 kB / 0.5672 GB, free: 9.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6409, allocations: 0 / 0.5672 GB, free: 9.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.6411, allocations: 30.88 kB / 0.5672 GB, free: 9.84 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.001343/0.6425, allocations: 1.147 MB / 0.5683 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.6427, allocations: 53.56 kB / 0.5684 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6427, allocations: 0 / 0.5684 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.6427, allocations: 38.53 kB / 0.5684 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.643, allocations: 20.38 kB / 0.5685 GB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.6436, allocations: 236.2 kB / 0.5687 GB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.6438, allocations: 0.7121 MB / 0.5694 GB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.6439, allocations: 16.86 kB / 0.5694 GB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.644, allocations: 36.36 kB / 0.5694 GB, free: 7.668 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.644, allocations: 0 / 0.5694 GB, free: 7.668 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.6578, allocations: 3.087 MB / 0.5724 GB, free: 4.617 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.6581, allocations: 183.6 kB / 0.5726 GB, free: 4.395 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.254, allocations: 0 / 0.5726 GB, free: 4.395 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat