Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001679/0.001679, allocations: 176.9 kB / 17.06 MB, free: 5.098 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.428/1.428, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008422/0.0008422, allocations: 90.05 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.3499/0.3499, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4326, allocations: 61.89 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.5464, allocations: 89.3 MB / 0.5968 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5467, allocations: 79.92 kB / 0.5969 GB, free: 5.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.563, allocations: 5.773 MB / 0.6026 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5631, allocations: 0 / 0.6026 GB, free: 15.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.5631, allocations: 7.938 kB / 0.6026 GB, free: 15.94 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.0006222/0.5637, allocations: 430.8 kB / 0.603 GB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5638, allocations: 12.03 kB / 0.603 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.5639, allocations: 30.56 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.5639, allocations: 15.89 kB / 0.603 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.5643, allocations: 225.6 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.5643, allocations: 11.89 kB / 0.6033 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.5643, allocations: 0 / 0.6033 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.5645, allocations: 53.67 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.5645, allocations: 4 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.5646, allocations: 4 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5646, allocations: 4 kB / 0.6033 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.5647, allocations: 19.98 kB / 0.6033 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.5651, allocations: 296.9 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.5653, allocations: 58.61 kB / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5653, allocations: 0 / 0.6037 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.5655, allocations: 71.52 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.5655, allocations: 0 / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006127/0.5661, allocations: 189.3 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.5662, allocations: 55.39 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.5664, allocations: 201.8 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.5665, allocations: 25.7 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.5665, allocations: 104.1 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.5666, allocations: 31.64 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-06/0.5666, allocations: 3.938 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5667, allocations: 335 kB / 0.6047 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.154e-05/0.5668, allocations: 15.94 kB / 0.6047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.5669, allocations: 37.7 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.567, allocations: 28.06 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.567, allocations: 0 / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000216/0.5672, allocations: 117.4 kB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5672, allocations: 5.875 kB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5672, allocations: 0 / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5672, allocations: 4 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.321e-05/0.5673, allocations: 12 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5674, allocations: 0 / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.5674, allocations: 11.98 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5674, allocations: 0 / 0.6049 GB, free: 13.34 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.0001096/0.5676, allocations: 141.8 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.5676, allocations: 11.89 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.5679, allocations: 122.9 kB / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5679, allocations: 4 kB / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5679, allocations: 0 / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5679, allocations: 0 / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.5684, allocations: 419.3 kB / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5684, allocations: 4.031 kB / 0.6055 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.5685, allocations: 15.94 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5685, allocations: 3.984 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5685, allocations: 7.984 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5685, allocations: 0 / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5686, allocations: 0 / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.5688, allocations: 238 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.5689, allocations: 97 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.569, allocations: 4 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.569, allocations: 0 / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.5691, allocations: 15.94 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5691, allocations: 4 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.5693, allocations: 172.3 kB / 0.6061 GB, free: 11.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5693, allocations: 0 / 0.6061 GB, free: 11.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.5696, allocations: 35.94 kB / 0.6061 GB, free: 11.95 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.001607/0.5712, allocations: 1.195 MB / 0.6073 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.5714, allocations: 59.91 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5714, allocations: 0 / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.5715, allocations: 36.08 kB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.5718, allocations: 36.27 kB / 0.6074 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.5733, allocations: 0.9512 MB / 0.6083 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.5736, allocations: 0.7238 MB / 0.609 GB, free: 9.027 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.5737, allocations: 16.55 kB / 0.6091 GB, free: 9.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.5738, allocations: 39.42 kB / 0.6091 GB, free: 8.973 MB / 426.7 MB Notification: Performance of SimCode: time 4e-07/0.5738, allocations: 0 / 0.6091 GB, free: 8.973 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.5899, allocations: 3.215 MB / 0.6122 GB, free: 5.895 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003067/0.5903, allocations: 216.3 kB / 0.6124 GB, free: 5.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.303, allocations: 4 kB / 0.6124 GB, free: 5.648 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat