Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001184/0.001183, allocations: 180.6 kB / 17.06 MB, free: 5.094 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.349/1.349, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009628/0.0009627, allocations: 111.6 kB / 292.1 MB, free: 10.89 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.3895/0.3895, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 12 kB / 460 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3827, allocations: 61.9 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.5031, allocations: 89.3 MB / 0.5969 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5034, allocations: 79.92 kB / 0.5969 GB, free: 5.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5189, allocations: 5.912 MB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.519, allocations: 0 / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.519, allocations: 4 kB / 0.6027 GB, free: 15.78 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005718/0.5196, allocations: 450.6 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5196, allocations: 8.031 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.5197, allocations: 34.5 kB / 0.6032 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.5197, allocations: 15.81 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.5201, allocations: 226.8 kB / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5201, allocations: 11.94 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.5201, allocations: 0 / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5203, allocations: 53.67 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5203, allocations: 0 / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.5203, allocations: 4 kB / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5203, allocations: 0 / 0.6035 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.5204, allocations: 23.92 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.5209, allocations: 316.8 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.521, allocations: 54.67 kB / 0.6039 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5211, allocations: 0 / 0.6039 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.5212, allocations: 75.45 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5212, allocations: 0 / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006152/0.5219, allocations: 189 kB / 0.6041 GB, free: 14.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.5219, allocations: 51.41 kB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.5222, allocations: 243.2 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.5223, allocations: 25.7 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.5224, allocations: 112.1 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.5224, allocations: 27.64 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.5224, allocations: 0 / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5226, allocations: 335 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.5226, allocations: 19.98 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.514e-05/0.5227, allocations: 33.7 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.5228, allocations: 31.98 kB / 0.6049 GB, free: 13.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5228, allocations: 0 / 0.6049 GB, free: 13.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.523, allocations: 105.4 kB / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.523, allocations: 4 kB / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.523, allocations: 32 / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.523, allocations: 4 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.5231, allocations: 27.92 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5231, allocations: 0 / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.5232, allocations: 7.938 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5232, allocations: 192 / 0.6051 GB, free: 13.11 MB / 426.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 () * Number of clocked 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 0.0001135/0.5233, allocations: 138.3 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.5234, allocations: 19.75 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.5236, allocations: 127 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5236, allocations: 3.984 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5237, allocations: 0 / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5237, allocations: 0 / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.5242, allocations: 439.2 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5242, allocations: 0 / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.5243, allocations: 12 kB / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5243, allocations: 0 / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5243, allocations: 8.031 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5243, allocations: 240 / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5243, allocations: 0 / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.5246, allocations: 233.8 kB / 0.606 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.5247, allocations: 100.9 kB / 0.6061 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.5247, allocations: 7.984 kB / 0.6061 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.5248, allocations: 8 kB / 0.6061 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.5248, allocations: 11.89 kB / 0.6061 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5249, allocations: 7.984 kB / 0.6062 GB, free: 11.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.525, allocations: 192.5 kB / 0.6063 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.525, allocations: 0 / 0.6063 GB, free: 11.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.5253, allocations: 39.92 kB / 0.6064 GB, free: 11.67 MB / 426.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) * Number of clocked states: 0 () * 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.001479/0.5268, allocations: 1.201 MB / 0.6076 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.527, allocations: 59.92 kB / 0.6076 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.527, allocations: 0 / 0.6076 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.5271, allocations: 27.98 kB / 0.6076 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.5273, allocations: 31.92 kB / 0.6077 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.5286, allocations: 1.034 MB / 0.6087 GB, free: 9.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.5289, allocations: 0.7238 MB / 0.6094 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.529, allocations: 24.84 kB / 0.6094 GB, free: 8.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.5291, allocations: 39.42 kB / 0.6094 GB, free: 8.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5291, allocations: 0 / 0.6094 GB, free: 8.598 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.5435, allocations: 3.447 MB / 0.6128 GB, free: 5.293 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.5437, allocations: 214.2 kB / 0.613 GB, free: 5.051 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.202, allocations: 0 / 0.613 GB, free: 5.051 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat