Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001377, allocations: 105.4 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 193.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2163/0.2163, allocations: 43.51 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 71.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1127, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003125/0.1159, allocations: 1.669 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1174, allocations: 0.7767 MB / 0.4899 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.1175, allocations: 0 / 0.4899 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.1178, allocations: 55.75 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1181, allocations: 59.75 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.1184, allocations: 87.7 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1186, allocations: 91.69 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.1187, allocations: 11.92 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1188, allocations: 47.78 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.1189, allocations: 31.84 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1189, allocations: 0 / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.119, allocations: 31.92 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.1191, allocations: 23.92 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.1192, allocations: 39.69 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1194, allocations: 115.6 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1194, allocations: 0 / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1194, allocations: 0 / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1194, allocations: 0 / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006119/0.12, allocations: 434.7 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.1201, allocations: 15.89 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1202, allocations: 34.69 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.1202, allocations: 12.84 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1205, allocations: 215.7 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1206, allocations: 4.375 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.1206, allocations: 7.938 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1207, allocations: 45.67 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1208, allocations: 4 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1208, allocations: 0 / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1208, allocations: 0 / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1209, allocations: 15.98 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.1211, allocations: 201.5 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1213, allocations: 50.56 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.1214, allocations: 24.84 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1214, allocations: 0 / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1216, allocations: 67.39 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1216, allocations: 3.938 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003003/0.1219, allocations: 93.52 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1219, allocations: 55.41 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.1222, allocations: 258.5 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1222, allocations: 29.7 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1223, allocations: 108.1 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1223, allocations: 27.72 kB / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.1224, allocations: 17.72 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1225, allocations: 326.8 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.1226, allocations: 11.98 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.1227, allocations: 29.7 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.1228, allocations: 49.64 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1228, allocations: 7.875 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001689/0.123, allocations: 89.69 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.123, allocations: 8 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.123, allocations: 64 / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.123, allocations: 4 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.158e-05/0.1231, allocations: 11.98 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1231, allocations: 0 / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.1232, allocations: 8.031 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1232, allocations: 4 kB / 0.4926 GB, free: 6.711 MB / 382.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.1233, allocations: 141.7 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.1233, allocations: 15.81 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1234, allocations: 20.98 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1234, allocations: 0 / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1234, allocations: 0 / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1234, allocations: 0 / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1236, allocations: 193.6 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1236, allocations: 4 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.02e-05/0.1236, allocations: 4 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1236, allocations: 0 / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1236, allocations: 7.938 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1236, allocations: 0 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1236, allocations: 3.984 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1238, allocations: 112.9 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.1239, allocations: 89 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1239, allocations: 7.938 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.124, allocations: 8 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.124, allocations: 0 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.124, allocations: 7.984 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.1242, allocations: 192.5 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.1244, allocations: 16 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.1257, allocations: 0.9518 MB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1259, allocations: 39.98 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1259, allocations: 0 / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.126, allocations: 27.91 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1263, allocations: 31.36 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.128, allocations: 1.661 MB / 0.496 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1284, allocations: 0.708 MB / 0.4967 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.1284, allocations: 12.55 kB / 0.4967 GB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1285, allocations: 43.42 kB / 0.4968 GB, free: 2.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1285, allocations: 4 kB / 0.4968 GB, free: 2.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.1489, allocations: 3.439 MB / 0.5001 GB, free: 14.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.748, allocations: 8 kB / 0.5001 GB, free: 14.76 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time