Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.00154/0.00154, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 230.7 MB, free: 7.527 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.001042/0.001042, allocations: 89.86 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1862/0.1862, allocations: 44.16 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.938e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1378, allocations: 61.93 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.6015, allocations: 88.56 MB / 0.5813 GB, free: 7.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.6018, allocations: 76.89 kB / 0.5813 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01545/0.6173, allocations: 5.703 MB / 0.5869 GB, free: 2.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.6173, allocations: 0 / 0.5869 GB, free: 2.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.6174, allocations: 0 / 0.5869 GB, free: 2.051 MB / 394.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.0004528/0.6178, allocations: 414.2 kB / 0.5873 GB, free: 1.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6179, allocations: 11.98 kB / 0.5873 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.6179, allocations: 11.81 kB / 0.5873 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.6182, allocations: 210.9 kB / 0.5875 GB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.6182, allocations: 7.953 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.6183, allocations: 4 kB / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.995e-05/0.6184, allocations: 23.92 kB / 0.5876 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.05e-05/0.6184, allocations: 45.69 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6185, allocations: 3.906 kB / 0.5876 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6185, allocations: 4 kB / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6185, allocations: 3.938 kB / 0.5876 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.6188, allocations: 281.4 kB / 0.5879 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.619, allocations: 46.69 kB / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.619, allocations: 20.92 kB / 0.5879 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.619, allocations: 4 kB / 0.5879 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.6192, allocations: 67.39 kB / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.6192, allocations: 0 / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004678/0.6197, allocations: 149.1 kB / 0.5881 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.6197, allocations: 51.41 kB / 0.5882 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.6199, allocations: 197.8 kB / 0.5884 GB, free: 348 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.62, allocations: 29.7 kB / 0.5884 GB, free: 312 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.62, allocations: 108.1 kB / 0.5885 GB, free: 200 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.6201, allocations: 27.7 kB / 0.5885 GB, free: 172 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.6201, allocations: 0 / 0.5885 GB, free: 172 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6202, allocations: 322.8 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.6202, allocations: 20 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.6203, allocations: 30.47 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.6203, allocations: 23.94 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.6204, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000137/0.6205, allocations: 93.53 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6205, allocations: 12.17 kB / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6205, allocations: 0 / 0.589 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6206, allocations: 3.938 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.6206, allocations: 12 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6207, allocations: 4 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.6207, allocations: 0 / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.6207, allocations: 7.984 kB / 0.5891 GB, free: 15.63 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.41e-05/0.6208, allocations: 115.4 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001366/0.621, allocations: 101.7 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.621, allocations: 23.78 kB / 0.5893 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.6212, allocations: 107.7 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6212, allocations: 4 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6212, allocations: 0 / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6212, allocations: 3.984 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.6216, allocations: 391.8 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6217, allocations: 4.031 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.6217, allocations: 15.94 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6217, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.6217, allocations: 7.984 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6217, allocations: 0 / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6218, allocations: 0 / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.622, allocations: 218 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.6221, allocations: 93.02 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.6222, allocations: 7.984 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.6223, allocations: 0 / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.6223, allocations: 7.953 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.6223, allocations: 7.984 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.6225, allocations: 159.2 kB / 0.5903 GB, free: 14.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6225, allocations: 0 / 0.5903 GB, free: 14.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.6228, allocations: 39.84 kB / 0.5903 GB, free: 14.24 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.001373/0.6241, allocations: 1.1 MB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.6243, allocations: 52 kB / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6243, allocations: 0 / 0.5914 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.6244, allocations: 27.94 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.6247, allocations: 32.23 kB / 0.5915 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.6252, allocations: 251.5 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.6256, allocations: 0.7196 MB / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.903e-05/0.6257, allocations: 20.84 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.6257, allocations: 47.41 kB / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6258, allocations: 0 / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.6465, allocations: 2.855 MB / 0.5953 GB, free: 9.137 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.6467, allocations: 160.8 kB / 0.5954 GB, free: 8.949 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.282, allocations: 0 / 0.5954 GB, free: 8.949 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat