Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001167/0.001167, allocations: 180.5 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.521/1.521, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009415/0.0009417, allocations: 91.8 kB / 287 MB, free: 248 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.2223/0.2223, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.755e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1571, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.6845, allocations: 89.03 MB / 0.5887 GB, free: 200 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.6849, allocations: 71.97 kB / 0.5888 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.7057, allocations: 5.418 MB / 0.5941 GB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.7058, allocations: 0 / 0.5941 GB, free: 10.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.7058, allocations: 0 / 0.5941 GB, free: 10.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006208/0.7064, allocations: 394.2 kB / 0.5945 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.7065, allocations: 12.03 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.7066, allocations: 30.56 kB / 0.5945 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.7066, allocations: 7.906 kB / 0.5945 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.7071, allocations: 210.8 kB / 0.5947 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.7071, allocations: 0 / 0.5947 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.7071, allocations: 7.953 kB / 0.5947 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.7073, allocations: 45.67 kB / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7073, allocations: 0 / 0.5948 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.7073, allocations: 4 kB / 0.5948 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.7074, allocations: 7.938 kB / 0.5948 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.7074, allocations: 15.94 kB / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.7078, allocations: 181.7 kB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.708, allocations: 50.62 kB / 0.595 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.7081, allocations: 20.8 kB / 0.5951 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.7081, allocations: 7.953 kB / 0.5951 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.7084, allocations: 75.45 kB / 0.5951 GB, free: 9.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.7084, allocations: 0 / 0.5951 GB, free: 9.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003491/0.7087, allocations: 69.59 kB / 0.5952 GB, free: 9.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.7088, allocations: 59.41 kB / 0.5953 GB, free: 9.355 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.7092, allocations: 165.4 kB / 0.5954 GB, free: 9.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.7092, allocations: 25.7 kB / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.7093, allocations: 96.14 kB / 0.5955 GB, free: 9.059 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.7094, allocations: 23.73 kB / 0.5955 GB, free: 9.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.7094, allocations: 4 kB / 0.5956 GB, free: 9.031 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.7096, allocations: 322.8 kB / 0.5959 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.7097, allocations: 12 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.7098, allocations: 33.7 kB / 0.5959 GB, free: 8.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.53e-05/0.7098, allocations: 19.92 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7098, allocations: 0 / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002299/0.7101, allocations: 77.66 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.7101, allocations: 11.98 kB / 0.596 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.7102, allocations: 4 kB / 0.596 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.7102, allocations: 0 / 0.596 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.7103, allocations: 11.94 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.7104, allocations: 0 / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.7104, allocations: 7.984 kB / 0.596 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.7105, allocations: 4 kB / 0.596 GB, free: 8.516 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 (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.000136/0.7106, allocations: 106.5 kB / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.7107, allocations: 15.81 kB / 0.5962 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.711, allocations: 93.72 kB / 0.5962 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.711, allocations: 0 / 0.5962 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.711, allocations: 3.938 kB / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.711, allocations: 7.969 kB / 0.5963 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.7113, allocations: 189.6 kB / 0.5964 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7113, allocations: 0 / 0.5964 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.7114, allocations: 7.984 kB / 0.5964 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7114, allocations: 0 / 0.5964 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.7114, allocations: 0 / 0.5964 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.7115, allocations: 3.953 kB / 0.5964 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7115, allocations: 7.938 kB / 0.5965 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.7117, allocations: 109 kB / 0.5966 GB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.7119, allocations: 100.8 kB / 0.5967 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.7119, allocations: 4 kB / 0.5967 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.712, allocations: 7.984 kB / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.7121, allocations: 3.953 kB / 0.5967 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.7121, allocations: 4.188 kB / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.7123, allocations: 152.9 kB / 0.5968 GB, free: 7.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7123, allocations: 0 / 0.5968 GB, free: 7.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004029/0.7127, allocations: 20 kB / 0.5968 GB, free: 7.594 MB / 410.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) * 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.002033/0.7148, allocations: 0.9104 MB / 0.5977 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.715, allocations: 47.92 kB / 0.5978 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.715, allocations: 3.938 kB / 0.5978 GB, free: 6.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.7151, allocations: 20 kB / 0.5978 GB, free: 6.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.7155, allocations: 23.94 kB / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.7163, allocations: 203 kB / 0.598 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.7168, allocations: 0.7043 MB / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.804e-05/0.7168, allocations: 16.5 kB / 0.5987 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.7169, allocations: 31.42 kB / 0.5987 GB, free: 5.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.717, allocations: 0 / 0.5987 GB, free: 5.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.7376, allocations: 2.701 MB / 0.6014 GB, free: 3.047 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/0.738, allocations: 196 kB / 0.6016 GB, free: 2.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.451, allocations: 4 kB / 0.6016 GB, free: 2.809 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat