Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.00128/0.00128, 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.625/1.625, 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.0009326/0.0009322, allocations: 93.67 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.3994/0.3994, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.986e-05/5.006e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5745, allocations: 87.4 MB / 0.5583 GB, free: 16.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.5748, allocations: 71.45 kB / 0.5583 GB, free: 16.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.5885, allocations: 5.114 MB / 0.5633 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5885, allocations: 0 / 0.5633 GB, free: 13.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5885, allocations: 0.5469 kB / 0.5633 GB, free: 13.66 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004199/0.589, allocations: 390.4 kB / 0.5637 GB, free: 13.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.589, allocations: 12.03 kB / 0.5637 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.5891, allocations: 32.06 kB / 0.5638 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.5891, allocations: 15.34 kB / 0.5638 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.5894, allocations: 209.5 kB / 0.564 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5894, allocations: 1.406 kB / 0.564 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.5894, allocations: 2.438 kB / 0.564 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.5895, allocations: 50.03 kB / 0.564 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5896, allocations: 0 / 0.564 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.5896, allocations: 0 / 0.564 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5896, allocations: 1.375 kB / 0.564 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.5896, allocations: 18.22 kB / 0.564 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.5898, allocations: 189.8 kB / 0.5642 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.5899, allocations: 46.41 kB / 0.5643 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.59, allocations: 21.41 kB / 0.5643 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.59, allocations: 0 / 0.5643 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.5901, allocations: 63.78 kB / 0.5643 GB, free: 12.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.5901, allocations: 4 kB / 0.5643 GB, free: 12.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001823/0.5903, allocations: 85.55 kB / 0.5644 GB, free: 12.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.5903, allocations: 51.41 kB / 0.5645 GB, free: 12.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.5905, allocations: 163.4 kB / 0.5646 GB, free: 12.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.5905, allocations: 25.7 kB / 0.5647 GB, free: 12.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.5905, allocations: 99.58 kB / 0.5648 GB, free: 12.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.5906, allocations: 9.312 kB / 0.5648 GB, free: 12.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.5906, allocations: 3.125 kB / 0.5648 GB, free: 12.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.5906, allocations: 324.7 kB / 0.5651 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.5907, allocations: 12.52 kB / 0.5651 GB, free: 11.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.5907, allocations: 33.92 kB / 0.5651 GB, free: 11.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.5907, allocations: 20.83 kB / 0.5651 GB, free: 11.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5908, allocations: 0 / 0.5651 GB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000101/0.5909, allocations: 83.45 kB / 0.5652 GB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5909, allocations: 4 kB / 0.5652 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.5909, allocations: 0 / 0.5652 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5909, allocations: 4.031 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.591, allocations: 13.53 kB / 0.5652 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.591, allocations: 5.5 kB / 0.5652 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.591, allocations: 0 / 0.5652 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.5911, allocations: 4 kB / 0.5652 GB, free: 11.71 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 (7): * Single equations (assignments): 7 * 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 5.169e-05/0.5911, allocations: 113.9 kB / 0.5654 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.5911, allocations: 7.906 kB / 0.5654 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.5913, allocations: 87.89 kB / 0.5654 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5913, allocations: 4 kB / 0.5655 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5913, allocations: 0 / 0.5655 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5913, allocations: 4 kB / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.5915, allocations: 195.6 kB / 0.5656 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5915, allocations: 0 / 0.5656 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.5915, allocations: 9.875 kB / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5915, allocations: 0 / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5915, allocations: 0 / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5915, allocations: 0 / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5915, allocations: 0 / 0.5657 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.5917, allocations: 120.3 kB / 0.5658 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.5917, allocations: 96.52 kB / 0.5659 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.5918, allocations: 4.188 kB / 0.5659 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.5918, allocations: 7.938 kB / 0.5659 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.5918, allocations: 7.984 kB / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.5919, allocations: 0 / 0.5659 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.5919, allocations: 129.5 kB / 0.566 GB, free: 10.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.592, allocations: 0 / 0.566 GB, free: 10.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.5922, allocations: 35.3 kB / 0.566 GB, free: 10.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001082/0.5933, allocations: 0.9037 MB / 0.5669 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.5934, allocations: 45.56 kB / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5934, allocations: 0 / 0.567 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.794e-05/0.5935, allocations: 19.69 kB / 0.567 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.5937, allocations: 25.97 kB / 0.567 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.5941, allocations: 189.6 kB / 0.5672 GB, free: 9.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.5943, allocations: 0.7043 MB / 0.5679 GB, free: 9.078 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.5943, allocations: 16.42 kB / 0.5679 GB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.5944, allocations: 29.3 kB / 0.5679 GB, free: 9.047 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5944, allocations: 4 kB / 0.5679 GB, free: 9.043 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.6101, allocations: 2.633 MB / 0.5705 GB, free: 6.441 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/0.6103, allocations: 186.9 kB / 0.5707 GB, free: 6.219 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.254, allocations: 0 / 0.5707 GB, free: 6.219 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat