Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001641/0.001641, allocations: 180.6 kB / 14.15 MB, free: 1.176 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.719/1.719, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 95.61 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.765e-05, allocations: 8 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5396/0.6847, allocations: 89.22 MB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/0.6852, allocations: 71.97 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.7016, allocations: 5.643 MB / 0.5945 GB, free: 10.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.7017, allocations: 0 / 0.5945 GB, free: 10.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.7017, allocations: 4 kB / 0.5945 GB, free: 10.33 MB / 410.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.0005853/0.7023, allocations: 410.2 kB / 0.5949 GB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.7024, allocations: 8.031 kB / 0.5949 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.7024, allocations: 34.55 kB / 0.595 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.7025, allocations: 19.8 kB / 0.595 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.7029, allocations: 207.6 kB / 0.5952 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.7029, allocations: 3.953 kB / 0.5952 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.7029, allocations: 11.92 kB / 0.5952 GB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.7031, allocations: 49.69 kB / 0.5952 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7031, allocations: 3.938 kB / 0.5952 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.7031, allocations: 4 kB / 0.5952 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.7031, allocations: 4 kB / 0.5952 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.7032, allocations: 19.98 kB / 0.5953 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.7037, allocations: 292.9 kB / 0.5955 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.7038, allocations: 54.64 kB / 0.5956 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.7039, allocations: 24.97 kB / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.7039, allocations: 0 / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.704, allocations: 67.39 kB / 0.5957 GB, free: 8.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.704, allocations: 0 / 0.5957 GB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005066/0.7046, allocations: 153.1 kB / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7046, allocations: 51.41 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.7048, allocations: 191.7 kB / 0.5961 GB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.7049, allocations: 29.7 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.7049, allocations: 96.14 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.705, allocations: 27.64 kB / 0.5962 GB, free: 8.383 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.705, allocations: 4 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7052, allocations: 326.8 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.7052, allocations: 20 kB / 0.5965 GB, free: 8.031 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.7053, allocations: 41.64 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.7053, allocations: 23.98 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.7053, allocations: 0 / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001555/0.7055, allocations: 97.52 kB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7055, allocations: 9.25 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7055, allocations: 192 / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.7056, allocations: 192 / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.7057, allocations: 20 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.7057, allocations: 11.92 kB / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.7057, allocations: 0 / 0.5967 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.7057, allocations: 4 kB / 0.5967 GB, free: 7.816 MB / 410.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 () * 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 7.749e-05/0.7058, allocations: 117 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.7059, allocations: 11.81 kB / 0.5969 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.7061, allocations: 115.1 kB / 0.597 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7061, allocations: 0 / 0.597 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7061, allocations: 0 / 0.597 GB, free: 7.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.7061, allocations: 4 kB / 0.597 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.7066, allocations: 419.2 kB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7066, allocations: 0 / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.7067, allocations: 15.92 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.7067, allocations: 4 kB / 0.5974 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.7067, allocations: 0 / 0.5974 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.7067, allocations: 0 / 0.5974 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7067, allocations: 0 / 0.5974 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.7069, allocations: 225.8 kB / 0.5976 GB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.707, allocations: 97 kB / 0.5977 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.7071, allocations: 4 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.7071, allocations: 0 / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.7072, allocations: 15.92 kB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.7072, allocations: 8 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.7074, allocations: 148.9 kB / 0.5979 GB, free: 6.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7074, allocations: 0 / 0.5979 GB, free: 6.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.7076, allocations: 35.94 kB / 0.5979 GB, free: 6.508 MB / 410.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) * 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.001483/0.7091, allocations: 1.143 MB / 0.599 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.7093, allocations: 59.88 kB / 0.5991 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7093, allocations: 0 / 0.5991 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.26e-05/0.7094, allocations: 35.92 kB / 0.5991 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.7096, allocations: 26.75 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.7102, allocations: 240.6 kB / 0.5994 GB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.7105, allocations: 0.7082 MB / 0.6001 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.7106, allocations: 16.42 kB / 0.6001 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.7106, allocations: 35.42 kB / 0.6001 GB, free: 4.285 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7107, allocations: 0 / 0.6001 GB, free: 4.285 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.7257, allocations: 3.078 MB / 0.6031 GB, free: 1.297 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.7259, allocations: 188.1 kB / 0.6033 GB, free: 1.066 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.381, allocations: 64 / 0.6033 GB, free: 1.066 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat