Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.001848/0.001849, 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.744/1.744, 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.0009443/0.0009447, allocations: 85.86 kB / 267 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.4416/0.4416, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-05/4.701e-05, allocations: 4 kB / 425.4 MB, free: 8.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1425, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.57, allocations: 87.45 MB / 0.5583 GB, free: 1.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.5702, allocations: 71.97 kB / 0.5584 GB, free: 1.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.5842, allocations: 5.218 MB / 0.5635 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5842, allocations: 3.984 kB / 0.5635 GB, free: 12.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.5843, allocations: 4 kB / 0.5635 GB, free: 12.23 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.0004453/0.5847, allocations: 396.6 kB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5848, allocations: 8.031 kB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.5848, allocations: 30.56 kB / 0.5639 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.5849, allocations: 15.34 kB / 0.5639 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.5852, allocations: 215.6 kB / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5852, allocations: 4 kB / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.5853, allocations: 0 / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.5854, allocations: 49.67 kB / 0.5642 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5854, allocations: 4 kB / 0.5642 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5854, allocations: 0 / 0.5642 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5855, allocations: 5.312 kB / 0.5642 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.5855, allocations: 15.94 kB / 0.5642 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.5858, allocations: 185.6 kB / 0.5644 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.5859, allocations: 50.62 kB / 0.5644 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.586, allocations: 20.94 kB / 0.5644 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.586, allocations: 4 kB / 0.5644 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.5862, allocations: 63.34 kB / 0.5645 GB, free: 11.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.5862, allocations: 0 / 0.5645 GB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000242/0.5864, allocations: 78.89 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5865, allocations: 51.41 kB / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.5867, allocations: 173.3 kB / 0.5648 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.5867, allocations: 29.7 kB / 0.5648 GB, free: 10.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.5868, allocations: 104.1 kB / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.5868, allocations: 15.75 kB / 0.5649 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.5869, allocations: 4 kB / 0.5649 GB, free: 10.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.587, allocations: 322.8 kB / 0.5652 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/0.587, allocations: 12 kB / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.5871, allocations: 33.7 kB / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.5872, allocations: 15.94 kB / 0.5653 GB, free: 10.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5872, allocations: 4 kB / 0.5653 GB, free: 10.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001253/0.5873, allocations: 77.58 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5873, allocations: 9.094 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5873, allocations: 0.6562 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5874, allocations: 0 / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.5875, allocations: 11.94 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5875, allocations: 4 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.5875, allocations: 0 / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.5876, allocations: 4 kB / 0.5654 GB, free: 10.05 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 0.0001237/0.5877, allocations: 121.5 kB / 0.5655 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.5877, allocations: 19.73 kB / 0.5655 GB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.5879, allocations: 86.47 kB / 0.5656 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.5879, allocations: 4 kB / 0.5656 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.588, allocations: 0 / 0.5656 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.588, allocations: 0 / 0.5656 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.5881, allocations: 198.4 kB / 0.5658 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5882, allocations: 0 / 0.5658 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.5882, allocations: 4 kB / 0.5658 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5882, allocations: 0 / 0.5658 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5882, allocations: 11.98 kB / 0.5658 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5882, allocations: 0 / 0.5658 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5882, allocations: 192 / 0.5658 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.5884, allocations: 113 kB / 0.5659 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.5885, allocations: 88.97 kB / 0.566 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.5885, allocations: 0 / 0.566 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.5886, allocations: 11.98 kB / 0.566 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.5886, allocations: 8 kB / 0.566 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.5886, allocations: 3.938 kB / 0.566 GB, free: 9.297 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.5887, allocations: 140.1 kB / 0.5662 GB, free: 9.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.423e-06/0.5888, allocations: 0 / 0.5662 GB, free: 9.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.589, allocations: 27.88 kB / 0.5662 GB, free: 9.133 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.001218/0.5902, allocations: 0.928 MB / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.5903, allocations: 35.94 kB / 0.5671 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5903, allocations: 0 / 0.5671 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.5904, allocations: 27.98 kB / 0.5672 GB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5906, allocations: 21 kB / 0.5672 GB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.5912, allocations: 201.1 kB / 0.5674 GB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.5915, allocations: 0.7083 MB / 0.5681 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.5915, allocations: 12.42 kB / 0.5681 GB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.5916, allocations: 31.42 kB / 0.5681 GB, free: 7.164 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5916, allocations: 4 kB / 0.5681 GB, free: 7.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.6063, allocations: 2.713 MB / 0.5708 GB, free: 4.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.6065, allocations: 183.6 kB / 0.5709 GB, free: 4.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.246, allocations: 4.062 kB / 0.571 GB, free: 4.254 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat