Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001733/0.001733, 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.613/1.613, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009503/0.0009498, allocations: 94.42 kB / 287 MB, free: 208 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.2961/0.2961, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.608e-05/4.611e-05, allocations: 12.22 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5932, allocations: 90.13 MB / 0.5898 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.5935, allocations: 71.95 kB / 0.5899 GB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.6054, allocations: 4.387 MB / 0.5942 GB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.6054, allocations: 0 / 0.5942 GB, free: 10.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.6055, allocations: 4 kB / 0.5942 GB, free: 10.67 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006212/0.6061, allocations: 459.8 kB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.6062, allocations: 15.97 kB / 0.5946 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.6062, allocations: 34.56 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.6063, allocations: 15.89 kB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.6066, allocations: 231.2 kB / 0.5949 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.6067, allocations: 7.953 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.6067, allocations: 8 kB / 0.5949 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.6069, allocations: 100.2 kB / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.607, allocations: 0 / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.607, allocations: 8 kB / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.607, allocations: 0 / 0.595 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.6071, allocations: 35.94 kB / 0.5951 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.6077, allocations: 0.5165 MB / 0.5956 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.608, allocations: 82.67 kB / 0.5956 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.6081, allocations: 37.08 kB / 0.5957 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.6081, allocations: 0 / 0.5957 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.6083, allocations: 87.25 kB / 0.5958 GB, free: 8.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.6083, allocations: 0 / 0.5958 GB, free: 8.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000258/0.6085, allocations: 105.4 kB / 0.5959 GB, free: 8.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.6086, allocations: 59.36 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.6088, allocations: 166.6 kB / 0.5961 GB, free: 8.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.6088, allocations: 33.7 kB / 0.5961 GB, free: 8.457 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.6089, allocations: 112 kB / 0.5962 GB, free: 8.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.6089, allocations: 35.69 kB / 0.5962 GB, free: 8.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.609, allocations: 4 kB / 0.5963 GB, free: 8.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6091, allocations: 322.8 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.6092, allocations: 24 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.6092, allocations: 60.41 kB / 0.5966 GB, free: 7.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.6093, allocations: 39.95 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6093, allocations: 0 / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001906/0.6095, allocations: 125.4 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6095, allocations: 8 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.6095, allocations: 0 / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6096, allocations: 4.125 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6097, allocations: 23.98 kB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.6097, allocations: 7.938 kB / 0.5968 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.6098, allocations: 11.89 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.6098, allocations: 8 kB / 0.5969 GB, free: 7.652 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.993e-05/0.6099, allocations: 109.9 kB / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.6099, allocations: 19.8 kB / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.6102, allocations: 123.1 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6102, allocations: 0 / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6102, allocations: 0 / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.6102, allocations: 4 kB / 0.5971 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.6104, allocations: 217.5 kB / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6104, allocations: 0 / 0.5973 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.6105, allocations: 15.98 kB / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6105, allocations: 0 / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6106, allocations: 0 / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6106, allocations: 3.938 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6106, allocations: 8 kB / 0.5973 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.6109, allocations: 181.9 kB / 0.5975 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.611, allocations: 100.9 kB / 0.5976 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.611, allocations: 4 kB / 0.5976 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.6111, allocations: 8 kB / 0.5976 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.6111, allocations: 7.984 kB / 0.5976 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.6111, allocations: 4 kB / 0.5976 GB, free: 6.762 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.6113, allocations: 149.2 kB / 0.5978 GB, free: 6.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6113, allocations: 0 / 0.5978 GB, free: 6.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.6115, allocations: 28 kB / 0.5978 GB, free: 6.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001367/0.6129, allocations: 0.9818 MB / 0.5988 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.6131, allocations: 75.86 kB / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6131, allocations: 0 / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.6131, allocations: 32 kB / 0.5989 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.6134, allocations: 39.33 kB / 0.5989 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.614, allocations: 249.7 kB / 0.5991 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.6143, allocations: 0.7206 MB / 0.5998 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.387e-05/0.6144, allocations: 17.2 kB / 0.5999 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.6145, allocations: 43.41 kB / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.6145, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.631, allocations: 3.298 MB / 0.6031 GB, free: 1.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.6312, allocations: 184.1 kB / 0.6033 GB, free: 1.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.373, allocations: 4.062 kB / 0.6033 GB, free: 1.023 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat