Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64",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.001175/0.001175, 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.388/1.388, allocations: 223.2 MB / 241 MB, free: 11.9 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.000865/0.0008653, allocations: 94.28 kB / 292.1 MB, free: 10.92 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.3788/0.3788, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.0005247, allocations: 16 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3592, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.481, allocations: 89.12 MB / 0.5967 GB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.4813, allocations: 83.88 kB / 0.5968 GB, free: 5.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.4976, allocations: 5.741 MB / 0.6024 GB, free: 164 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4976, allocations: 0 / 0.6024 GB, free: 164 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.4977, allocations: 4 kB / 0.6024 GB, free: 160 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.000779/0.4985, allocations: 438.6 kB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4985, allocations: 12.03 kB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.4986, allocations: 30.56 kB / 0.6028 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.4987, allocations: 15.81 kB / 0.6028 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.4992, allocations: 222.8 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4992, allocations: 4 kB / 0.6031 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.4993, allocations: 3.953 kB / 0.6031 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4995, allocations: 53.67 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4995, allocations: 0 / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4995, allocations: 0 / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.4996, allocations: 4 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.737e-05/0.4997, allocations: 23.86 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.5, allocations: 185.7 kB / 0.6033 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.5002, allocations: 54.61 kB / 0.6034 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.5003, allocations: 0 / 0.6034 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.5005, allocations: 79.44 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.5005, allocations: 0 / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003232/0.5008, allocations: 109.3 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5009, allocations: 51.41 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.5012, allocations: 235.2 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.5012, allocations: 33.7 kB / 0.6039 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.5013, allocations: 104.1 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.5013, allocations: 15.89 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5013, allocations: 4 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5015, allocations: 326.8 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.5015, allocations: 15.98 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.5016, allocations: 33.69 kB / 0.6043 GB, free: 13.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.5017, allocations: 19.94 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5017, allocations: 0 / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000183/0.5019, allocations: 89.52 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5019, allocations: 11.95 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5019, allocations: 0 / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5019, allocations: 0 / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.502, allocations: 11.94 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.502, allocations: 0 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.5021, allocations: 4 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.5021, allocations: 8 kB / 0.6045 GB, free: 13.77 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.0001275/0.5022, allocations: 138.3 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.5023, allocations: 15.81 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.5025, allocations: 98.62 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5025, allocations: 4 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5026, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5026, allocations: 3.984 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.5028, allocations: 209.5 kB / 0.6049 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5028, allocations: 0 / 0.6049 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.5028, allocations: 4 kB / 0.6049 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5028, allocations: 0 / 0.6049 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.5029, allocations: 3.938 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5029, allocations: 8.328 kB / 0.6049 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5029, allocations: 4 kB / 0.6049 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.5031, allocations: 117 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5032, allocations: 104.9 kB / 0.6051 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.5032, allocations: 0 / 0.6051 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.5033, allocations: 4 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5033, allocations: 11.94 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.5034, allocations: 8 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.5036, allocations: 192.5 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.5036, allocations: 0 / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.5038, allocations: 31.94 kB / 0.6054 GB, free: 12.73 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.001464/0.5053, allocations: 0.9693 MB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.5055, allocations: 43.91 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5055, allocations: 0 / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.5056, allocations: 31.92 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.5058, allocations: 23.94 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.5073, allocations: 0.9757 MB / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5076, allocations: 0.7199 MB / 0.6081 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.5077, allocations: 16.42 kB / 0.6081 GB, free: 9.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.5078, allocations: 43.42 kB / 0.6081 GB, free: 9.953 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5078, allocations: 0 / 0.6081 GB, free: 9.953 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.5236, allocations: 3.155 MB / 0.6112 GB, free: 6.941 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.5238, allocations: 214.3 kB / 0.6114 GB, free: 6.699 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.223, allocations: 0 / 0.6114 GB, free: 6.699 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat