Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001236/0.001236, allocations: 179.6 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.561/1.561, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009271/0.0009271, allocations: 102.1 kB / 287 MB, free: 244 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.2102/0.2102, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.369e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.173, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5935/0.7666, allocations: 89.27 MB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.7669, allocations: 75.91 kB / 0.5891 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.7844, allocations: 6.218 MB / 0.5951 GB, free: 9.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.7845, allocations: 4 kB / 0.5951 GB, free: 9.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.7845, allocations: 0 / 0.5951 GB, free: 9.703 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005709/0.7851, allocations: 418 kB / 0.5955 GB, free: 9.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.7852, allocations: 8.031 kB / 0.5955 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.037e-05/0.7852, allocations: 46.48 kB / 0.5956 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.7853, allocations: 11.91 kB / 0.5956 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.7856, allocations: 223.5 kB / 0.5958 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.7857, allocations: 8 kB / 0.5958 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.7857, allocations: 3.906 kB / 0.5958 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.7859, allocations: 73.66 kB / 0.5959 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.7859, allocations: 3.984 kB / 0.5959 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.7859, allocations: 4 kB / 0.5959 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7859, allocations: 4 kB / 0.5959 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.7861, allocations: 51.91 kB / 0.5959 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.7866, allocations: 332.8 kB / 0.5963 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.7869, allocations: 94.56 kB / 0.5964 GB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.7869, allocations: 32.8 kB / 0.5964 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.787, allocations: 0 / 0.5964 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.7871, allocations: 83.38 kB / 0.5965 GB, free: 8.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.7871, allocations: 4 kB / 0.5965 GB, free: 8.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006769/0.7878, allocations: 265.3 kB / 0.5967 GB, free: 7.887 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.7879, allocations: 59.34 kB / 0.5968 GB, free: 7.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.7881, allocations: 171.7 kB / 0.5969 GB, free: 7.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.7881, allocations: 33.89 kB / 0.597 GB, free: 7.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.7882, allocations: 104.4 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.7883, allocations: 47.3 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.7883, allocations: 8 kB / 0.5971 GB, free: 7.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7884, allocations: 322.8 kB / 0.5974 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.7885, allocations: 36 kB / 0.5975 GB, free: 7.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.39e-05/0.7886, allocations: 57.7 kB / 0.5975 GB, free: 7.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.7887, allocations: 39.97 kB / 0.5976 GB, free: 6.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.7887, allocations: 0 / 0.5976 GB, free: 6.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000248/0.7889, allocations: 151 kB / 0.5977 GB, free: 6.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.789, allocations: 8.031 kB / 0.5977 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.789, allocations: 0 / 0.5977 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.789, allocations: 4 kB / 0.5977 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.7891, allocations: 27.92 kB / 0.5977 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7891, allocations: 0 / 0.5977 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.7892, allocations: 11.95 kB / 0.5978 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.7892, allocations: 7.984 kB / 0.5978 GB, free: 6.766 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 (15): * Single equations (assignments): 15 * 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 8.208e-05/0.7893, allocations: 110.2 kB / 0.5979 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.7893, allocations: 11.81 kB / 0.5979 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.7897, allocations: 191.9 kB / 0.5981 GB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7897, allocations: 4 kB / 0.5981 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7897, allocations: 0 / 0.5981 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7897, allocations: 0 / 0.5981 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006594/0.7904, allocations: 0.5157 MB / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7904, allocations: 64 / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.7905, allocations: 27.98 kB / 0.5986 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7905, allocations: 3.938 kB / 0.5986 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.7905, allocations: 8 kB / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.7905, allocations: 11.88 kB / 0.5986 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7905, allocations: 0 / 0.5986 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.7908, allocations: 289.7 kB / 0.5989 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.7909, allocations: 104.9 kB / 0.599 GB, free: 5.379 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.791, allocations: 4 kB / 0.599 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.7911, allocations: 4 kB / 0.599 GB, free: 5.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.7911, allocations: 11.98 kB / 0.599 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.7911, allocations: 11.94 kB / 0.599 GB, free: 5.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.7913, allocations: 148.9 kB / 0.5992 GB, free: 5.203 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7913, allocations: 4 kB / 0.5992 GB, free: 5.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.7916, allocations: 47.92 kB / 0.5992 GB, free: 5.152 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.001656/0.7932, allocations: 1.328 MB / 0.6005 GB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.7935, allocations: 107.9 kB / 0.6006 GB, free: 3.805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7935, allocations: 3.938 kB / 0.6006 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.7936, allocations: 55.92 kB / 0.6007 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.7939, allocations: 39.81 kB / 0.6007 GB, free: 3.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.7945, allocations: 285.2 kB / 0.601 GB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.7949, allocations: 0.7163 MB / 0.6017 GB, free: 2.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.867e-05/0.795, allocations: 33.17 kB / 0.6017 GB, free: 2.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.7951, allocations: 47.42 kB / 0.6018 GB, free: 2.574 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7951, allocations: 4 kB / 0.6018 GB, free: 2.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.8112, allocations: 3.661 MB / 0.6053 GB, free: 15 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.8115, allocations: 190.3 kB / 0.6055 GB, free: 14.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.518, allocations: 4 kB / 0.6055 GB, free: 14.77 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat