Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 113.9 kB / 17.09 MB, free: 5.953 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.001158/0.001158, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.205/0.205, allocations: 43.53 MB / 314.8 MB, free: 452 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.001418/0.001418, allocations: 73.45 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 57.79 MB / 0.4886 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003318/0.1056, allocations: 1.834 MB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1072, allocations: 0.9027 MB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1073, allocations: 4 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.1078, allocations: 251.4 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1083, allocations: 183.4 kB / 0.4917 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.1087, allocations: 151.6 kB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.1091, allocations: 247.4 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1092, allocations: 21.53 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.1095, allocations: 131.5 kB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.1097, allocations: 179.5 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1097, allocations: 4 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1099, allocations: 47.92 kB / 0.4925 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.11, allocations: 59.77 kB / 0.4925 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.685e-05/0.1101, allocations: 91.28 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.1104, allocations: 223 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1104, allocations: 7.938 kB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1104, allocations: 0 / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1104, allocations: 0 / 0.4928 GB, free: 7.387 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007113/0.1111, allocations: 0.5677 MB / 0.4934 GB, free: 6.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1112, allocations: 11.89 kB / 0.4934 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.1113, allocations: 32.75 kB / 0.4934 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1116, allocations: 280.4 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1117, allocations: 8.312 kB / 0.4937 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1117, allocations: 12.12 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1119, allocations: 95.36 kB / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.112, allocations: 0 / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.112, allocations: 0 / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.112, allocations: 4 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1121, allocations: 39.97 kB / 0.4938 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.1127, allocations: 460.9 kB / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.113, allocations: 117.3 kB / 0.4944 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.1131, allocations: 45.7 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1132, allocations: 0 / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.1134, allocations: 116.9 kB / 0.4946 GB, free: 5.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.734e-06/0.1134, allocations: 0 / 0.4946 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000986/0.1144, allocations: 397.1 kB / 0.4949 GB, free: 5.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1145, allocations: 85.05 kB / 0.495 GB, free: 4.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.1149, allocations: 481.6 kB / 0.4955 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.115, allocations: 37.64 kB / 0.4955 GB, free: 4.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1151, allocations: 160.3 kB / 0.4957 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.1152, allocations: 51.58 kB / 0.4957 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.1152, allocations: 33.7 kB / 0.4957 GB, free: 4.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1154, allocations: 346.8 kB / 0.4961 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1155, allocations: 43.98 kB / 0.4961 GB, free: 3.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1156, allocations: 67.59 kB / 0.4962 GB, free: 3.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.1158, allocations: 123.3 kB / 0.4963 GB, free: 3.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1159, allocations: 4 kB / 0.4963 GB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000332/0.1162, allocations: 185.4 kB / 0.4965 GB, free: 3.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1162, allocations: 4 kB / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1162, allocations: 0 / 0.4965 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1162, allocations: 4 kB / 0.4965 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1164, allocations: 35.92 kB / 0.4965 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1164, allocations: 7.938 kB / 0.4965 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.23e-05/0.1165, allocations: 7.984 kB / 0.4965 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1165, allocations: 12.06 kB / 0.4965 GB, free: 3.293 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000143/0.1167, allocations: 173.7 kB / 0.4967 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1167, allocations: 27.81 kB / 0.4967 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.1168, allocations: 42.8 kB / 0.4968 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1168, allocations: 0 / 0.4968 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1168, allocations: 4 kB / 0.4968 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.1169, allocations: 100.9 kB / 0.4969 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.1169, allocations: 8 kB / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.117, allocations: 7.984 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.1171, allocations: 15.98 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003894/0.1175, allocations: 328.3 kB / 0.4972 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004101/0.1179, allocations: 441.6 kB / 0.4976 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000113/0.118, allocations: 55.97 kB / 0.4977 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003284/0.1183, allocations: 359.1 kB / 0.498 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Backend: time 5.91e-07/0.1183, allocations: 0 / 0.498 GB, free: 1.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.12, allocations: 0.5488 MB / 0.4986 GB, free: 1.211 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009955/0.121, allocations: 0.9395 MB / 0.4995 GB, free: 228 kB / 382.1 MB Notification: Performance of Templates: time 0.006687/0.1277, allocations: 2.832 MB / 0.5023 GB, free: 13.4 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches