Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001774/0.001774, allocations: 179.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.697/1.697, allocations: 221.4 MB / 236 MB, free: 2.898 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.0009797/0.0009803, allocations: 95.73 kB / 287 MB, free: 192 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.2041/0.2041, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.955e-05/4.984e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1582, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6773, allocations: 89.18 MB / 0.5889 GB, free: 80 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.6776, allocations: 78.45 kB / 0.589 GB, free: 4 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.6939, allocations: 5.476 MB / 0.5943 GB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.694, allocations: 0 / 0.5943 GB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.694, allocations: 4 kB / 0.5943 GB, free: 10.54 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.000695/0.6947, allocations: 390.2 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/0.6948, allocations: 12.03 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.205e-05/0.6949, allocations: 34.55 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.695, allocations: 7.906 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.6955, allocations: 222.7 kB / 0.595 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.6955, allocations: 7.953 kB / 0.595 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.6955, allocations: 0 / 0.595 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.6957, allocations: 53.62 kB / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.6958, allocations: 4 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.6958, allocations: 7.922 kB / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.6958, allocations: 0 / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.6959, allocations: 20 kB / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.6966, allocations: 300.9 kB / 0.5953 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.6968, allocations: 58.62 kB / 0.5954 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.6968, allocations: 16.98 kB / 0.5954 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.6968, allocations: 0 / 0.5954 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.697, allocations: 67.39 kB / 0.5955 GB, free: 9.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.697, allocations: 4 kB / 0.5955 GB, free: 9.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006029/0.6976, allocations: 157.1 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.6977, allocations: 51.41 kB / 0.5957 GB, free: 8.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.698, allocations: 169.4 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.698, allocations: 29.69 kB / 0.5959 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.6981, allocations: 96.14 kB / 0.5959 GB, free: 8.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.6981, allocations: 23.7 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.6981, allocations: 0 / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6983, allocations: 330.8 kB / 0.5963 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.6984, allocations: 20 kB / 0.5963 GB, free: 8.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.6984, allocations: 37.66 kB / 0.5963 GB, free: 8.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.6985, allocations: 28.05 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6985, allocations: 0 / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.6987, allocations: 93.5 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6987, allocations: 8 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.6988, allocations: 0 / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6988, allocations: 8.016 kB / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.6989, allocations: 15.94 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6989, allocations: 4 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.699, allocations: 7.938 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.699, allocations: 4 kB / 0.5965 GB, free: 8.062 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 0.0001072/0.6991, allocations: 112.9 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.6991, allocations: 7.906 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.6994, allocations: 122.3 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6994, allocations: 4 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6994, allocations: 0 / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.6994, allocations: 3.984 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.6999, allocations: 411.2 kB / 0.5971 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7, allocations: 3.938 kB / 0.5971 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.7, allocations: 12 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7, allocations: 0 / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.7, allocations: 4 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7, allocations: 7.969 kB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/0.7001, allocations: 7.984 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.7003, allocations: 214.1 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.4e-05/0.7004, allocations: 92.92 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.7005, allocations: 4 kB / 0.5975 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.7005, allocations: 11.98 kB / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.7006, allocations: 11.95 kB / 0.5975 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.7006, allocations: 4 kB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.7008, allocations: 144.9 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7008, allocations: 0 / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.7011, allocations: 31.98 kB / 0.5977 GB, free: 6.766 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.001768/0.7028, allocations: 1.129 MB / 0.5988 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.703, allocations: 63.92 kB / 0.5988 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7031, allocations: 3.938 kB / 0.5988 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.7031, allocations: 40.06 kB / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.7035, allocations: 23.94 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.7042, allocations: 216.5 kB / 0.5991 GB, free: 5.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.7046, allocations: 0.7123 MB / 0.5998 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.7047, allocations: 20.41 kB / 0.5998 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.7048, allocations: 35.42 kB / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.7048, allocations: 0 / 0.5998 GB, free: 4.547 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.726, allocations: 3.001 MB / 0.6028 GB, free: 1.637 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003533/0.7265, allocations: 200 kB / 0.603 GB, free: 1.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.488, allocations: 0 / 0.603 GB, free: 1.398 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat