Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.00139/0.001389, allocations: 180.7 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.568/1.568, allocations: 221.3 MB / 236 MB, free: 2.973 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.0009246/0.0009245, allocations: 95.67 kB / 287 MB, free: 240 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.2356/0.2356, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.98e-05, allocations: 4 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5151/0.6642, allocations: 89.33 MB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/0.6647, allocations: 75.95 kB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01988/0.6846, allocations: 6.355 MB / 0.5953 GB, free: 9.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.709e-06/0.6847, allocations: 0 / 0.5953 GB, free: 9.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.6847, allocations: 7.938 kB / 0.5953 GB, free: 9.488 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007613/0.6855, allocations: 430 kB / 0.5957 GB, free: 9.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.6856, allocations: 12.03 kB / 0.5958 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.966e-05/0.6856, allocations: 42.5 kB / 0.5958 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.6857, allocations: 15.8 kB / 0.5958 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.6862, allocations: 242.4 kB / 0.596 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.6862, allocations: 3.953 kB / 0.596 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.6863, allocations: 4 kB / 0.596 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.6865, allocations: 69.66 kB / 0.5961 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6865, allocations: 4 kB / 0.5961 GB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.6865, allocations: 4 kB / 0.5961 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6865, allocations: 4 kB / 0.5961 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.6867, allocations: 39.92 kB / 0.5962 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.6874, allocations: 344.7 kB / 0.5965 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.6877, allocations: 70.56 kB / 0.5966 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.6878, allocations: 28.86 kB / 0.5966 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.6878, allocations: 4 kB / 0.5966 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.688, allocations: 91.2 kB / 0.5967 GB, free: 7.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.276e-06/0.6881, allocations: 0 / 0.5967 GB, free: 7.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008383/0.6889, allocations: 261.1 kB / 0.5969 GB, free: 7.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.689, allocations: 63.3 kB / 0.597 GB, free: 7.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.6893, allocations: 229.6 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.6893, allocations: 29.7 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.6894, allocations: 120.1 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.6895, allocations: 43.92 kB / 0.5974 GB, free: 7.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.6895, allocations: 4 kB / 0.5974 GB, free: 7.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.6897, allocations: 330.8 kB / 0.5977 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.6897, allocations: 36 kB / 0.5977 GB, free: 6.789 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.6898, allocations: 49.72 kB / 0.5978 GB, free: 6.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.6899, allocations: 49.34 kB / 0.5978 GB, free: 6.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6899, allocations: 7.938 kB / 0.5978 GB, free: 6.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002609/0.6902, allocations: 157.4 kB / 0.598 GB, free: 6.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6902, allocations: 5.562 kB / 0.598 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6903, allocations: 4 kB / 0.598 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6903, allocations: 0 / 0.598 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.6904, allocations: 23.98 kB / 0.598 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.6904, allocations: 8 kB / 0.598 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.6905, allocations: 7.953 kB / 0.598 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.6905, allocations: 8 kB / 0.598 GB, free: 6.465 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 (16): * Single equations (assignments): 16 * 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 9.707e-05/0.6906, allocations: 118.1 kB / 0.5982 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.6907, allocations: 15.81 kB / 0.5982 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.691, allocations: 191.2 kB / 0.5984 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.691, allocations: 112 / 0.5984 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6911, allocations: 3.938 kB / 0.5984 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6911, allocations: 3.953 kB / 0.5984 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.6919, allocations: 0.5309 MB / 0.5989 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6919, allocations: 0 / 0.5989 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.692, allocations: 23.98 kB / 0.5989 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.6921, allocations: 3.953 kB / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.6921, allocations: 8 kB / 0.5989 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6921, allocations: 3.938 kB / 0.5989 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6921, allocations: 0 / 0.5989 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.6925, allocations: 299.5 kB / 0.5992 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6926, allocations: 100.9 kB / 0.5993 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.6927, allocations: 7.984 kB / 0.5993 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.6928, allocations: 4 kB / 0.5993 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.6929, allocations: 15.98 kB / 0.5993 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.6929, allocations: 8 kB / 0.5993 GB, free: 5.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.6931, allocations: 188.4 kB / 0.5995 GB, free: 4.836 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6931, allocations: 0 / 0.5995 GB, free: 4.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.6935, allocations: 51.92 kB / 0.5996 GB, free: 4.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.00182/0.6953, allocations: 1.331 MB / 0.6009 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.6956, allocations: 103.9 kB / 0.601 GB, free: 3.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6956, allocations: 0 / 0.601 GB, free: 3.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.6957, allocations: 55.92 kB / 0.601 GB, free: 3.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.696, allocations: 28.36 kB / 0.601 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.6968, allocations: 342.4 kB / 0.6014 GB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.6972, allocations: 0.7282 MB / 0.6021 GB, free: 2.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.809e-05/0.6973, allocations: 33.17 kB / 0.6021 GB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.6974, allocations: 63.34 kB / 0.6022 GB, free: 2.137 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.6974, allocations: 0 / 0.6022 GB, free: 2.137 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.7142, allocations: 3.99 MB / 0.6061 GB, free: 14.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.7146, allocations: 183 kB / 0.6062 GB, free: 14.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.587, allocations: 0 / 0.6062 GB, free: 14.01 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat