Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18",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.002295/0.002295, allocations: 180.3 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.485/1.485, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009438/0.0009437, allocations: 95.97 kB / 287 MB, free: 252 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.2066/0.2066, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.441e-05/5.499e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5848/0.7537, allocations: 89.21 MB / 0.5889 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.7542, allocations: 79.09 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.7713, allocations: 5.515 MB / 0.5944 GB, free: 10.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7714, allocations: 4 kB / 0.5944 GB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.7715, allocations: 4 kB / 0.5944 GB, free: 10.46 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.0007582/0.7722, allocations: 398.2 kB / 0.5948 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.299e-05/0.7723, allocations: 12.02 kB / 0.5948 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.7724, allocations: 34.56 kB / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.7725, allocations: 7.906 kB / 0.5948 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.7729, allocations: 210.9 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.7729, allocations: 3.953 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.7729, allocations: 11.91 kB / 0.5951 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.7731, allocations: 49.69 kB / 0.5951 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7731, allocations: 3.938 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.7731, allocations: 3.984 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.7732, allocations: 4 kB / 0.5951 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.7732, allocations: 15.94 kB / 0.5951 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.7738, allocations: 288.9 kB / 0.5954 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.7739, allocations: 58.7 kB / 0.5955 GB, free: 9.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.774, allocations: 24.97 kB / 0.5955 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.774, allocations: 3.938 kB / 0.5955 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.7742, allocations: 63.39 kB / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.946e-06/0.7742, allocations: 0 / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006863/0.7749, allocations: 153.2 kB / 0.5957 GB, free: 8.961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.775, allocations: 55.41 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.7752, allocations: 154.2 kB / 0.5959 GB, free: 8.738 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.7752, allocations: 33.7 kB / 0.5959 GB, free: 8.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.7753, allocations: 100.1 kB / 0.596 GB, free: 8.598 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.7754, allocations: 27.64 kB / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.7754, allocations: 0 / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7755, allocations: 326.8 kB / 0.5964 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.7756, allocations: 16 kB / 0.5964 GB, free: 8.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.7757, allocations: 41.7 kB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.811e-05/0.7757, allocations: 23.98 kB / 0.5964 GB, free: 8.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.7757, allocations: 0 / 0.5964 GB, free: 8.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.7759, allocations: 97.53 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.7759, allocations: 4 kB / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.776, allocations: 0 / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.776, allocations: 0 / 0.5965 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.7761, allocations: 19.98 kB / 0.5966 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.7761, allocations: 3.969 kB / 0.5966 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.7762, allocations: 4.188 kB / 0.5966 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.7762, allocations: 4 kB / 0.5966 GB, free: 8.02 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 8.897e-05/0.7763, allocations: 120.9 kB / 0.5967 GB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.7763, allocations: 7.906 kB / 0.5967 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.7766, allocations: 118.1 kB / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7766, allocations: 0 / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7766, allocations: 0 / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.7766, allocations: 0 / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.7771, allocations: 415.2 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7772, allocations: 0 / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.7772, allocations: 12 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.7772, allocations: 0 / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.7772, allocations: 7.984 kB / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7772, allocations: 0 / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7773, allocations: 0 / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.7775, allocations: 221.9 kB / 0.5974 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.7776, allocations: 88.92 kB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.7776, allocations: 12.17 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.7777, allocations: 4 kB / 0.5975 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.7778, allocations: 11.94 kB / 0.5975 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.7778, allocations: 4 kB / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.7779, allocations: 138.5 kB / 0.5977 GB, free: 6.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7779, allocations: 0 / 0.5977 GB, free: 6.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.7782, allocations: 39.92 kB / 0.5977 GB, free: 6.734 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.001722/0.7799, allocations: 1.134 MB / 0.5988 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.7801, allocations: 59.88 kB / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7801, allocations: 0 / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.678e-05/0.7802, allocations: 31.92 kB / 0.5989 GB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.7806, allocations: 32.06 kB / 0.5989 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007491/0.7813, allocations: 205.6 kB / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.7817, allocations: 0.7082 MB / 0.5998 GB, free: 4.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.961e-05/0.7818, allocations: 16.42 kB / 0.5998 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.7819, allocations: 35.42 kB / 0.5999 GB, free: 4.539 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7819, allocations: 0 / 0.5999 GB, free: 4.539 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.8015, allocations: 2.921 MB / 0.6027 GB, free: 1.703 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003217/0.8019, allocations: 188.1 kB / 0.6029 GB, free: 1.477 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.599, allocations: 0 / 0.6029 GB, free: 1.477 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat