Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",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.001408/0.001408, allocations: 186 kB / 13.2 MB, free: 2.117 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.6/1.6, 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.000922/0.0009223, allocations: 91.53 kB / 267.1 MB, free: 9.289 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.4053/0.4053, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.742e-05, allocations: 4 kB / 425.4 MB, free: 8.781 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.5556, allocations: 87.58 MB / 0.5584 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5559, allocations: 76.52 kB / 0.5585 GB, free: 1.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.5705, allocations: 5.168 MB / 0.5636 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5705, allocations: 0.5469 kB / 0.5636 GB, free: 12.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.5705, allocations: 4 kB / 0.5636 GB, free: 12.14 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.0005216/0.5711, allocations: 396 kB / 0.5639 GB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5711, allocations: 8.031 kB / 0.5639 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.5712, allocations: 38.55 kB / 0.564 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.5712, allocations: 15.34 kB / 0.564 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.5715, allocations: 199.5 kB / 0.5642 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.5716, allocations: 11.98 kB / 0.5642 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5716, allocations: 0 / 0.5642 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.5717, allocations: 49.69 kB / 0.5642 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5717, allocations: 0 / 0.5642 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5718, allocations: 5.375 kB / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5718, allocations: 0 / 0.5643 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.5718, allocations: 23.92 kB / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.5722, allocations: 288.8 kB / 0.5646 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.5724, allocations: 54.69 kB / 0.5646 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.5724, allocations: 16.98 kB / 0.5646 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.5725, allocations: 4 kB / 0.5646 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.5726, allocations: 72.08 kB / 0.5647 GB, free: 10.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5726, allocations: 4 kB / 0.5647 GB, free: 10.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004592/0.5731, allocations: 157.4 kB / 0.5648 GB, free: 10.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.5731, allocations: 51.41 kB / 0.5649 GB, free: 10.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.5733, allocations: 142.2 kB / 0.565 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5733, allocations: 37.69 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.5734, allocations: 96.08 kB / 0.5652 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.5734, allocations: 23.7 kB / 0.5652 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.5734, allocations: 4.844 kB / 0.5652 GB, free: 10.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5736, allocations: 322.8 kB / 0.5655 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.5736, allocations: 16 kB / 0.5655 GB, free: 9.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.5737, allocations: 34.66 kB / 0.5655 GB, free: 9.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.744e-05/0.5737, allocations: 23.98 kB / 0.5656 GB, free: 9.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5737, allocations: 0 / 0.5656 GB, free: 9.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001475/0.5739, allocations: 93.59 kB / 0.5657 GB, free: 9.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5739, allocations: 8 kB / 0.5657 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5739, allocations: 4.188 kB / 0.5657 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.574, allocations: 4 kB / 0.5657 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.5741, allocations: 15.98 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.5741, allocations: 15.88 kB / 0.5657 GB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.5741, allocations: 4 kB / 0.5657 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.5742, allocations: 4.188 kB / 0.5657 GB, free: 9.715 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 7.494e-05/0.5742, allocations: 110.2 kB / 0.5658 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.5743, allocations: 19.73 kB / 0.5658 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.5745, allocations: 110.2 kB / 0.5659 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5745, allocations: 7.984 kB / 0.5659 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.5745, allocations: 0 / 0.5659 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.5745, allocations: 7.938 kB / 0.566 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.575, allocations: 395.3 kB / 0.5663 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.575, allocations: 0 / 0.5663 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.575, allocations: 8 kB / 0.5663 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.575, allocations: 0 / 0.5663 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5751, allocations: 11.94 kB / 0.5663 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5751, allocations: 4.031 kB / 0.5664 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5751, allocations: 0 / 0.5664 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.5753, allocations: 214 kB / 0.5666 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.5754, allocations: 92.86 kB / 0.5666 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.5754, allocations: 11.94 kB / 0.5667 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.5755, allocations: 8 kB / 0.5667 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.5755, allocations: 4 kB / 0.5667 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5755, allocations: 7.984 kB / 0.5667 GB, free: 8.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.5756, allocations: 127.6 kB / 0.5668 GB, free: 8.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5757, allocations: 3.938 kB / 0.5668 GB, free: 8.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.5759, allocations: 31.94 kB / 0.5668 GB, free: 8.457 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.00136/0.5773, allocations: 1.137 MB / 0.5679 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.5774, allocations: 59.92 kB / 0.568 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5775, allocations: 0 / 0.568 GB, free: 7.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.5775, allocations: 28 kB / 0.568 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.5778, allocations: 28.92 kB / 0.5681 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.5783, allocations: 201.2 kB / 0.5682 GB, free: 7.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.5786, allocations: 0.7122 MB / 0.5689 GB, free: 6.281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.5787, allocations: 14.34 kB / 0.569 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.5787, allocations: 31.42 kB / 0.569 GB, free: 6.238 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5788, allocations: 0 / 0.569 GB, free: 6.238 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.5938, allocations: 2.854 MB / 0.5718 GB, free: 3.422 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.5941, allocations: 182.6 kB / 0.5719 GB, free: 3.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.298, allocations: 0 / 0.5719 GB, free: 3.199 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat