Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 181.5 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009082/0.0009082, allocations: 90.5 kB / 292.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4326/0.4326, allocations: 44.23 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 61.91 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4639, allocations: 89.55 MB / 0.5971 GB, free: 5.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4641, allocations: 83.92 kB / 0.5972 GB, free: 5.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02212/0.4863, allocations: 8.097 MB / 0.6051 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.4863, allocations: 4 kB / 0.6051 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.4864, allocations: 7.938 kB / 0.6051 GB, free: 13.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009906/0.4874, allocations: 0.5254 MB / 0.6056 GB, free: 12.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.4874, allocations: 8.031 kB / 0.6056 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.467e-05/0.4875, allocations: 38.55 kB / 0.6057 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.4876, allocations: 23.72 kB / 0.6057 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.4881, allocations: 278.5 kB / 0.6059 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4881, allocations: 11.94 kB / 0.606 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.4881, allocations: 8 kB / 0.606 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.4884, allocations: 113.6 kB / 0.6061 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4884, allocations: 3.906 kB / 0.6061 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4884, allocations: 0 / 0.6061 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.4885, allocations: 8 kB / 0.6061 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.4886, allocations: 51.91 kB / 0.6061 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.4893, allocations: 488.7 kB / 0.6066 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.4897, allocations: 121.2 kB / 0.6067 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.4897, allocations: 11.94 kB / 0.6067 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.49, allocations: 122.9 kB / 0.6068 GB, free: 11.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.542e-06/0.49, allocations: 0 / 0.6068 GB, free: 11.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001361/0.4914, allocations: 0.4925 MB / 0.6073 GB, free: 10.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.4914, allocations: 81.11 kB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.4918, allocations: 318.1 kB / 0.6077 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.4918, allocations: 33.7 kB / 0.6077 GB, free: 10.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4919, allocations: 140.5 kB / 0.6079 GB, free: 10.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.492, allocations: 71 kB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.492, allocations: 4 kB / 0.6079 GB, free: 10.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4922, allocations: 338.8 kB / 0.6083 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.4923, allocations: 59.97 kB / 0.6083 GB, free: 9.852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.4925, allocations: 88.5 kB / 0.6084 GB, free: 9.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4926, allocations: 75.86 kB / 0.6085 GB, free: 9.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4926, allocations: 0 / 0.6085 GB, free: 9.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004099/0.493, allocations: 233.2 kB / 0.6087 GB, free: 9.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4931, allocations: 4 kB / 0.6087 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4931, allocations: 4 kB / 0.6087 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4931, allocations: 3.953 kB / 0.6087 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.4933, allocations: 43.92 kB / 0.6088 GB, free: 9.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4933, allocations: 3.984 kB / 0.6088 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.4934, allocations: 12 kB / 0.6088 GB, free: 9.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4934, allocations: 4 kB / 0.6088 GB, free: 9.371 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001624/0.4936, allocations: 170.3 kB / 0.6089 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.4936, allocations: 35.61 kB / 0.609 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.4941, allocations: 268.6 kB / 0.6092 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4941, allocations: 4 kB / 0.6092 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4941, allocations: 3.953 kB / 0.6092 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4942, allocations: 3.984 kB / 0.6092 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4952, allocations: 0.7739 MB / 0.61 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4952, allocations: 4.188 kB / 0.61 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.4953, allocations: 31.98 kB / 0.61 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4953, allocations: 7.938 kB / 0.61 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.4953, allocations: 8.125 kB / 0.61 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4953, allocations: 4 kB / 0.61 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4953, allocations: 7.938 kB / 0.6101 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.4958, allocations: 479.5 kB / 0.6105 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.496, allocations: 124.7 kB / 0.6106 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.496, allocations: 8 kB / 0.6106 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4962, allocations: 12 kB / 0.6107 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.4963, allocations: 27.91 kB / 0.6107 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4963, allocations: 8 kB / 0.6107 GB, free: 7.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.4965, allocations: 261.9 kB / 0.6109 GB, free: 6.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.4966, allocations: 0 / 0.6109 GB, free: 6.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.4969, allocations: 71.88 kB / 0.611 GB, free: 6.918 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001966/0.4989, allocations: 1.796 MB / 0.6128 GB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003535/0.4993, allocations: 161.6 kB / 0.6129 GB, free: 5.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4993, allocations: 0 / 0.6129 GB, free: 5.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.4994, allocations: 91.83 kB / 0.613 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.4999, allocations: 49.23 kB / 0.613 GB, free: 4.984 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.5022, allocations: 1.938 MB / 0.6149 GB, free: 2.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5026, allocations: 0.7682 MB / 0.6157 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.5027, allocations: 53.91 kB / 0.6157 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5029, allocations: 83.34 kB / 0.6158 GB, free: 2.039 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5029, allocations: 7.938 kB / 0.6158 GB, free: 2.031 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.5205, allocations: 5.608 MB / 0.6213 GB, free: 12.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.5208, allocations: 220.5 kB / 0.6215 GB, free: 12.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.45, allocations: 0 / 0.6215 GB, free: 12.32 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat