Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.001092/0.001092, allocations: 183 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.841/1.841, 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.0009077/0.0009077, allocations: 90.59 kB / 267.1 MB, free: 9.277 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.4727/0.4727, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.65e-05/4.701e-05, allocations: 7.984 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.163, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5127/0.6758, allocations: 87.45 MB / 0.5583 GB, free: 16.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.6762, allocations: 77.95 kB / 0.5584 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.6917, allocations: 5.527 MB / 0.5638 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6918, allocations: 4 kB / 0.5638 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.6918, allocations: 0 / 0.5638 GB, free: 13.29 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.0005204/0.6924, allocations: 408.5 kB / 0.5642 GB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.6924, allocations: 9.062 kB / 0.5642 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.6925, allocations: 31.62 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.6926, allocations: 24.8 kB / 0.5642 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.6929, allocations: 227.4 kB / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6929, allocations: 0 / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.6929, allocations: 0 / 0.5645 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.693, allocations: 49.98 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.693, allocations: 1.453 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6931, allocations: 0 / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.6931, allocations: 1.375 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.6931, allocations: 24.91 kB / 0.5645 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.6933, allocations: 195.8 kB / 0.5647 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.6934, allocations: 48.8 kB / 0.5648 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.6935, allocations: 18.69 kB / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.6935, allocations: 0 / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.6936, allocations: 71.75 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6936, allocations: 4 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001994/0.6939, allocations: 81.39 kB / 0.5649 GB, free: 12.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.6939, allocations: 52.48 kB / 0.565 GB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.6941, allocations: 232.4 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.6941, allocations: 33.64 kB / 0.5652 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.6942, allocations: 109.4 kB / 0.5653 GB, free: 11.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.6942, allocations: 15 kB / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6942, allocations: 0 / 0.5654 GB, free: 11.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6943, allocations: 337.3 kB / 0.5657 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.6944, allocations: 11.25 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.6944, allocations: 28.34 kB / 0.5657 GB, free: 11.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.6945, allocations: 25.33 kB / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6945, allocations: 0 / 0.5657 GB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/0.6946, allocations: 79.84 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6946, allocations: 4 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6946, allocations: 0 / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6947, allocations: 8.031 kB / 0.5658 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.6947, allocations: 15.92 kB / 0.5658 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6948, allocations: 0 / 0.5658 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.6948, allocations: 7.906 kB / 0.5659 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.6948, allocations: 0 / 0.5659 GB, free: 11.21 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 6.424e-05/0.6949, allocations: 113.3 kB / 0.566 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.6949, allocations: 11.91 kB / 0.566 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.6951, allocations: 95.78 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6951, allocations: 4 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6951, allocations: 3.938 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6951, allocations: 0 / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6953, allocations: 217.6 kB / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6953, allocations: 0 / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.6953, allocations: 4 kB / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6953, allocations: 0 / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.6953, allocations: 4 kB / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6953, allocations: 0 / 0.5663 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6953, allocations: 3.984 kB / 0.5663 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.6955, allocations: 107.8 kB / 0.5664 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.6956, allocations: 108.1 kB / 0.5665 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.6956, allocations: 1.312 kB / 0.5665 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.6956, allocations: 7.188 kB / 0.5665 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.6957, allocations: 3.984 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.6957, allocations: 4 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.6958, allocations: 204.2 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6958, allocations: 0 / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.6961, allocations: 31.12 kB / 0.5667 GB, free: 10.31 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.001105/0.6972, allocations: 0.9272 MB / 0.5676 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.6973, allocations: 40.8 kB / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6974, allocations: 0 / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.6974, allocations: 26.75 kB / 0.5677 GB, free: 9.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.6977, allocations: 27.23 kB / 0.5677 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.6982, allocations: 265.2 kB / 0.568 GB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.6984, allocations: 0.7269 MB / 0.5687 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.6984, allocations: 12.44 kB / 0.5687 GB, free: 8.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.6985, allocations: 41.23 kB / 0.5687 GB, free: 8.324 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6985, allocations: 4 kB / 0.5687 GB, free: 8.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.7125, allocations: 3.137 MB / 0.5718 GB, free: 5.219 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.7127, allocations: 191.6 kB / 0.572 GB, free: 4.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.337, allocations: 0 / 0.572 GB, free: 4.988 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat