Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 106.4 kB / 17.08 MB, free: 5.82 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.001287/0.001288, allocations: 198.2 kB / 18.02 MB, free: 4.965 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.355/1.355, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2046/0.2046, allocations: 43.52 MB / 314.8 MB, free: 476 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.001645/0.001645, allocations: 71.89 kB / 442.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1218, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003602/0.1255, allocations: 1.687 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.127, allocations: 0.8092 MB / 0.4911 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1271, allocations: 4 kB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.1275, allocations: 39.81 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1278, allocations: 55.7 kB / 0.4912 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1281, allocations: 95.75 kB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1283, allocations: 91.7 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1285, allocations: 28.17 kB / 0.4914 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1286, allocations: 31.8 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.1286, allocations: 31.86 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1287, allocations: 4 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1288, allocations: 51.91 kB / 0.4915 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.1289, allocations: 19.92 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.1289, allocations: 39.73 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1292, allocations: 111.7 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1292, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1292, allocations: 0 / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1292, allocations: 0 / 0.4916 GB, free: 8.633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005284/0.1297, allocations: 414.9 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1298, allocations: 11.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.1298, allocations: 12.83 kB / 0.4921 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1302, allocations: 220.6 kB / 0.4923 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1302, allocations: 4.375 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1302, allocations: 12.11 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1304, allocations: 53.67 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1304, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1304, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1304, allocations: 0 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1306, allocations: 19.98 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.131, allocations: 288.8 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1311, allocations: 54.69 kB / 0.4927 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.1312, allocations: 24.84 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1312, allocations: 0 / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1314, allocations: 67.33 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1314, allocations: 4 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.1319, allocations: 173.2 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.132, allocations: 59.34 kB / 0.493 GB, free: 7.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1322, allocations: 191.3 kB / 0.4932 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1323, allocations: 25.7 kB / 0.4932 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.1323, allocations: 116 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1324, allocations: 23.69 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.1324, allocations: 25.64 kB / 0.4934 GB, free: 6.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1326, allocations: 334.8 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.1327, allocations: 19.98 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.1327, allocations: 34.08 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1329, allocations: 61.66 kB / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1329, allocations: 0 / 0.4938 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002434/0.1331, allocations: 105.5 kB / 0.4939 GB, free: 6.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1331, allocations: 8 kB / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1331, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1332, allocations: 0 / 0.4939 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.1333, allocations: 15.94 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1333, allocations: 7.984 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.1333, allocations: 4 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1333, allocations: 7.938 kB / 0.4939 GB, free: 6.047 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 (10): * Single equations (assignments): 10 * 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.0001036/0.1335, allocations: 129.4 kB / 0.4941 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1335, allocations: 19.92 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.1335, allocations: 13.41 kB / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1335, allocations: 0 / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1336, allocations: 0 / 0.4941 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1336, allocations: 92.91 kB / 0.4942 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1336, allocations: 3.938 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.1337, allocations: 4 kB / 0.4942 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.1337, allocations: 11.98 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002161/0.1339, allocations: 176.9 kB / 0.4944 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002469/0.1342, allocations: 270.7 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.852e-05/0.1343, allocations: 36.27 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1344, allocations: 156.9 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of Backend: time 3.6e-07/0.1344, allocations: 0 / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.1358, allocations: 486.2 kB / 0.4953 GB, free: 4.664 MB / 382.1 MB Notification: Performance of SimCode: time 0.00065/0.1365, allocations: 0.6822 MB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of Templates: time 0.004616/0.1411, allocations: 1.774 MB / 0.4977 GB, free: 2.168 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches