Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.001143/0.001143, allocations: 176.5 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.465/1.465, allocations: 223.2 MB / 241 MB, free: 10.17 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.0008486/0.0008486, allocations: 101.5 kB / 292.1 MB, free: 10.72 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.3724/0.3724, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003622, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3669, allocations: 61.92 MB / 0.5097 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.4942, allocations: 89.11 MB / 0.5967 GB, free: 5.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4945, allocations: 79.89 kB / 0.5968 GB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01457/0.5091, allocations: 5.432 MB / 0.6021 GB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5092, allocations: 0 / 0.6021 GB, free: 408 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.5092, allocations: 8 kB / 0.6021 GB, free: 400 kB / 410.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.0005545/0.5098, allocations: 414.8 kB / 0.6025 GB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5098, allocations: 12.03 kB / 0.6025 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.5099, allocations: 34.56 kB / 0.6025 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.5099, allocations: 11.91 kB / 0.6025 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5102, allocations: 215.9 kB / 0.6027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5102, allocations: 0 / 0.6027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5102, allocations: 3.953 kB / 0.6027 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5104, allocations: 49.67 kB / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5104, allocations: 0 / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.5104, allocations: 0 / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5104, allocations: 0 / 0.6028 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.5105, allocations: 27.86 kB / 0.6028 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.5108, allocations: 185.6 kB / 0.603 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.5109, allocations: 54.61 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.511, allocations: 0 / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.5111, allocations: 71.44 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 3.376e-06/0.5111, allocations: 0 / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003026/0.5115, allocations: 101.5 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.5115, allocations: 55.41 kB / 0.6032 GB, free: 14.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5117, allocations: 163.1 kB / 0.6034 GB, free: 14.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.5117, allocations: 29.7 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.5118, allocations: 100.1 kB / 0.6035 GB, free: 14.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.5118, allocations: 15.8 kB / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5118, allocations: 4 kB / 0.6035 GB, free: 14.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5119, allocations: 318.8 kB / 0.6038 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.512, allocations: 23.98 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.5121, allocations: 29.7 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.5121, allocations: 15.94 kB / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5121, allocations: 0 / 0.6039 GB, free: 14.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.5123, allocations: 85.58 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5123, allocations: 7.953 kB / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5123, allocations: 0 / 0.604 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.5123, allocations: 4 kB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.5124, allocations: 15.97 kB / 0.604 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5125, allocations: 0 / 0.604 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.5125, allocations: 7.938 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5125, allocations: 3.984 kB / 0.604 GB, free: 14.14 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 (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.0001148/0.5126, allocations: 118.4 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.5127, allocations: 15.91 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.5129, allocations: 98.14 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.5129, allocations: 4 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.513, allocations: 4.062 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.513, allocations: 11.92 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.5131, allocations: 185.6 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5132, allocations: 0 / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.5132, allocations: 4 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5132, allocations: 3.938 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5132, allocations: 3.938 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5132, allocations: 7.953 kB / 0.6045 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5132, allocations: 0 / 0.6045 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.5135, allocations: 121 kB / 0.6046 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.5136, allocations: 85.02 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.5136, allocations: 4 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.5136, allocations: 3.984 kB / 0.6047 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.5137, allocations: 11.95 kB / 0.6047 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5137, allocations: 0 / 0.6047 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.5138, allocations: 144 kB / 0.6048 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5138, allocations: 3.938 kB / 0.6048 GB, free: 13.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.5141, allocations: 31.94 kB / 0.6049 GB, free: 13.2 MB / 426.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) * Number of clocked states: 0 () * 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.001508/0.5156, allocations: 0.9634 MB / 0.6058 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.5158, allocations: 43.91 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5158, allocations: 64 / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.669e-05/0.5159, allocations: 35.92 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5162, allocations: 23.94 kB / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.5175, allocations: 0.794 MB / 0.6067 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5178, allocations: 0.7043 MB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.5179, allocations: 20.41 kB / 0.6074 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.518, allocations: 35.38 kB / 0.6074 GB, free: 10.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.518, allocations: 0 / 0.6074 GB, free: 10.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.5323, allocations: 2.709 MB / 0.6101 GB, free: 8.062 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.5326, allocations: 218.3 kB / 0.6103 GB, free: 7.812 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.188, allocations: 3.938 kB / 0.6103 GB, free: 7.809 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat