Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001059/0.001058, 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.543/1.543, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009275/0.0009277, allocations: 90.22 kB / 267.1 MB, free: 9.293 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.4423/0.4423, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-05/6.357e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 58.86 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.572, allocations: 87.56 MB / 0.5584 GB, free: 16.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.5722, allocations: 70.89 kB / 0.5585 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.5862, allocations: 5.381 MB / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5862, allocations: 0 / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.5862, allocations: 11.33 kB / 0.5638 GB, free: 13.36 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.0003976/0.5866, allocations: 407.2 kB / 0.5642 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.5867, allocations: 8.031 kB / 0.5642 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.5867, allocations: 32.02 kB / 0.5642 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.5868, allocations: 19.25 kB / 0.5642 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.5871, allocations: 215.3 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.5871, allocations: 4 kB / 0.5644 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.5871, allocations: 0 / 0.5644 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.5872, allocations: 59.42 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.5872, allocations: 0 / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.5873, allocations: 5.359 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5873, allocations: 1.453 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.159e-05/0.5873, allocations: 19.59 kB / 0.5645 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.5877, allocations: 303.7 kB / 0.5648 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5878, allocations: 56.62 kB / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.5879, allocations: 23.42 kB / 0.5649 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.5879, allocations: 0 / 0.5649 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.588, allocations: 73.67 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.588, allocations: 3.938 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004109/0.5885, allocations: 157.3 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5885, allocations: 58.78 kB / 0.5652 GB, free: 11.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.5887, allocations: 194.7 kB / 0.5653 GB, free: 11.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.5887, allocations: 29.7 kB / 0.5654 GB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.5887, allocations: 97.95 kB / 0.5655 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.5888, allocations: 29.58 kB / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.5888, allocations: 0 / 0.5655 GB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.5889, allocations: 324.6 kB / 0.5658 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.5889, allocations: 20.44 kB / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.5889, allocations: 38.77 kB / 0.5659 GB, free: 11.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.589, allocations: 18.88 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.589, allocations: 4 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001385/0.5891, allocations: 108.7 kB / 0.566 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5892, allocations: 4 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5892, allocations: 4 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5892, allocations: 0 / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.5893, allocations: 12 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5893, allocations: 3.953 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.5894, allocations: 15.95 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.5894, allocations: 4 kB / 0.566 GB, free: 11.09 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 6.608e-05/0.5894, allocations: 112.1 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.5895, allocations: 7.906 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.5897, allocations: 119.8 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5897, allocations: 0 / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5897, allocations: 4 kB / 0.5663 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5897, allocations: 3.953 kB / 0.5663 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.59, allocations: 423.3 kB / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5901, allocations: 0 / 0.5667 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.5901, allocations: 8 kB / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5901, allocations: 0 / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5901, allocations: 7.953 kB / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5901, allocations: 0 / 0.5667 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5901, allocations: 3.938 kB / 0.5667 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.5903, allocations: 219.2 kB / 0.5669 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.5904, allocations: 100.2 kB / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.5904, allocations: 3.953 kB / 0.567 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.5905, allocations: 7.984 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.5905, allocations: 7.312 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5906, allocations: 4.188 kB / 0.567 GB, free: 10.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.5907, allocations: 164.6 kB / 0.5672 GB, free: 9.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5907, allocations: 0 / 0.5672 GB, free: 9.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.5909, allocations: 35.23 kB / 0.5672 GB, free: 9.902 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.001222/0.5922, allocations: 1.151 MB / 0.5683 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.5923, allocations: 52.98 kB / 0.5684 GB, free: 8.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5923, allocations: 7.938 kB / 0.5684 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.5924, allocations: 28.81 kB / 0.5684 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.5926, allocations: 27 kB / 0.5684 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.5932, allocations: 247.9 kB / 0.5687 GB, free: 8.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.5934, allocations: 0.7121 MB / 0.5694 GB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.5934, allocations: 13.36 kB / 0.5694 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.5935, allocations: 43.97 kB / 0.5694 GB, free: 7.707 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5935, allocations: 4 kB / 0.5694 GB, free: 7.703 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.607, allocations: 3.145 MB / 0.5725 GB, free: 4.594 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.6072, allocations: 178.6 kB / 0.5727 GB, free: 4.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.325, allocations: 0 / 0.5727 GB, free: 4.375 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat