Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001394/0.001395, allocations: 180.1 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.533/1.533, allocations: 221.3 MB / 236 MB, free: 2.961 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.001151/0.00115, allocations: 95.53 kB / 287 MB, free: 228 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.2312/0.2312, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.978e-05, allocations: 8.219 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5131/0.6899, allocations: 89.27 MB / 0.589 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6902, allocations: 75.95 kB / 0.5891 GB, free: 15.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.7074, allocations: 5.998 MB / 0.5949 GB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7074, allocations: 0 / 0.5949 GB, free: 9.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.7075, allocations: 4 kB / 0.5949 GB, free: 9.875 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000573/0.708, allocations: 414.1 kB / 0.5953 GB, free: 9.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.7081, allocations: 16.02 kB / 0.5953 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.668e-05/0.7082, allocations: 38.5 kB / 0.5954 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.7082, allocations: 11.81 kB / 0.5954 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.7086, allocations: 226.7 kB / 0.5956 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7086, allocations: 11.95 kB / 0.5956 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.7086, allocations: 3.938 kB / 0.5956 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.7088, allocations: 57.67 kB / 0.5957 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7088, allocations: 0 / 0.5957 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7088, allocations: 0 / 0.5957 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7088, allocations: 8 kB / 0.5957 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.7089, allocations: 23.98 kB / 0.5957 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.7094, allocations: 304.8 kB / 0.596 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.7096, allocations: 66.48 kB / 0.596 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.7097, allocations: 20.97 kB / 0.5961 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.7097, allocations: 4 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.7098, allocations: 67.47 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.7098, allocations: 0 / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005689/0.7104, allocations: 205.1 kB / 0.5963 GB, free: 8.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.7105, allocations: 51.41 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.7107, allocations: 217.6 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.7107, allocations: 29.64 kB / 0.5966 GB, free: 7.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.7108, allocations: 112.1 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.7109, allocations: 31.56 kB / 0.5968 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.7109, allocations: 3.938 kB / 0.5968 GB, free: 7.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.711, allocations: 330.8 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.7111, allocations: 24 kB / 0.5971 GB, free: 7.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.7112, allocations: 41.72 kB / 0.5971 GB, free: 7.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.7112, allocations: 31.98 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.7112, allocations: 0 / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002031/0.7114, allocations: 132.3 kB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7115, allocations: 9.25 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7115, allocations: 0 / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.7115, allocations: 0 / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.7116, allocations: 19.98 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7116, allocations: 4 kB / 0.5973 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.7117, allocations: 3.938 kB / 0.5973 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.7117, allocations: 11.95 kB / 0.5973 GB, free: 7.16 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 (13): * Single equations (assignments): 13 * 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.647e-05/0.7118, allocations: 113 kB / 0.5974 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.7118, allocations: 15.81 kB / 0.5975 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.7121, allocations: 147.6 kB / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.7121, allocations: 0 / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7121, allocations: 0 / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7121, allocations: 0 / 0.5976 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.7127, allocations: 480 kB / 0.5981 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7127, allocations: 4 kB / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.7128, allocations: 15.98 kB / 0.5981 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7128, allocations: 0 / 0.5981 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.7128, allocations: 8 kB / 0.5981 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.7128, allocations: 11.89 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7128, allocations: 0 / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.7131, allocations: 260.5 kB / 0.5983 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.7132, allocations: 100.9 kB / 0.5984 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.7132, allocations: 0 / 0.5984 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.7133, allocations: 11.98 kB / 0.5985 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.7134, allocations: 7.938 kB / 0.5985 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.7134, allocations: 7.984 kB / 0.5985 GB, free: 5.871 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.7136, allocations: 176.3 kB / 0.5986 GB, free: 5.699 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7136, allocations: 0 / 0.5986 GB, free: 5.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.7138, allocations: 43.92 kB / 0.5987 GB, free: 5.656 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 (12): * Single equations (assignments): 10 * 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.001719/0.7156, allocations: 1.292 MB / 0.5999 GB, free: 4.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.7158, allocations: 79.88 kB / 0.6 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7158, allocations: 0 / 0.6 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.7159, allocations: 39.94 kB / 0.6001 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.7162, allocations: 28.16 kB / 0.6001 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.7168, allocations: 286.4 kB / 0.6004 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.7173, allocations: 0.7202 MB / 0.6011 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.342e-05/0.7174, allocations: 28.53 kB / 0.6011 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.7174, allocations: 47.61 kB / 0.6011 GB, free: 3.168 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.7175, allocations: 0 / 0.6011 GB, free: 3.168 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.7342, allocations: 3.531 MB / 0.6046 GB, free: 15.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.7346, allocations: 188.1 kB / 0.6048 GB, free: 15.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.519, allocations: 4 kB / 0.6048 GB, free: 15.5 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat