Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 113.3 kB / 17.09 MB, free: 5.988 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.001043/0.001043, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.386/1.386, allocations: 205.1 MB / 223.9 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.2095/0.2095, allocations: 43.53 MB / 314.8 MB, free: 460 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.001441/0.001441, allocations: 77.92 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00384/0.1097, allocations: 1.842 MB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1115, allocations: 0.9027 MB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1117, allocations: 4 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004674/0.1122, allocations: 223.4 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.1126, allocations: 167.4 kB / 0.4917 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.113, allocations: 143.7 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.1134, allocations: 231.3 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1135, allocations: 25.55 kB / 0.4921 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1138, allocations: 115.6 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.114, allocations: 143.5 kB / 0.4923 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.114, allocations: 8 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1142, allocations: 51.91 kB / 0.4924 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.1143, allocations: 51.83 kB / 0.4924 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.994e-05/0.1144, allocations: 87.34 kB / 0.4925 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1148, allocations: 219.2 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1148, allocations: 0 / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1148, allocations: 0 / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1148, allocations: 0 / 0.4927 GB, free: 7.52 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.0009176/0.1158, allocations: 0.5369 MB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1158, allocations: 11.89 kB / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.1159, allocations: 24.66 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.1164, allocations: 284 kB / 0.4935 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1164, allocations: 8.359 kB / 0.4935 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.1164, allocations: 12.12 kB / 0.4936 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.1167, allocations: 95.36 kB / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1167, allocations: 0 / 0.4936 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1167, allocations: 4 kB / 0.4937 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1167, allocations: 0 / 0.4937 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.1168, allocations: 39.91 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1174, allocations: 449 kB / 0.4941 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1176, allocations: 113.3 kB / 0.4942 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.1177, allocations: 41.7 kB / 0.4943 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1178, allocations: 0 / 0.4943 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.118, allocations: 120.9 kB / 0.4944 GB, free: 5.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.118, allocations: 0 / 0.4944 GB, free: 5.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000864/0.1189, allocations: 372 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1189, allocations: 81.05 kB / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.1194, allocations: 432.5 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1194, allocations: 33.7 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.1195, allocations: 160.2 kB / 0.4954 GB, free: 4.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1195, allocations: 43.36 kB / 0.4955 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1197, allocations: 37.7 kB / 0.4955 GB, free: 4.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1198, allocations: 342.8 kB / 0.4958 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1199, allocations: 43.97 kB / 0.4959 GB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.12, allocations: 71.41 kB / 0.4959 GB, free: 3.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1202, allocations: 123.3 kB / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1202, allocations: 0 / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003217/0.1206, allocations: 181.5 kB / 0.4962 GB, free: 3.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1206, allocations: 4 kB / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1206, allocations: 0 / 0.4962 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1206, allocations: 4 kB / 0.4962 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1208, allocations: 31.92 kB / 0.4963 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1208, allocations: 7.938 kB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.1209, allocations: 8 kB / 0.4963 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1209, allocations: 12.05 kB / 0.4963 GB, free: 3.57 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.0002024/0.1211, allocations: 165.7 kB / 0.4964 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.1211, allocations: 31.62 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.1212, allocations: 30.62 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1212, allocations: 4 kB / 0.4965 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1212, allocations: 0 / 0.4965 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.1213, allocations: 100.7 kB / 0.4966 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1213, allocations: 11.98 kB / 0.4966 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.1214, allocations: 8 kB / 0.4966 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1215, allocations: 15.97 kB / 0.4966 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000369/0.1219, allocations: 324.1 kB / 0.4969 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003982/0.1223, allocations: 429.7 kB / 0.4974 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001141/0.1224, allocations: 59.91 kB / 0.4974 GB, free: 2.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.1227, allocations: 323 kB / 0.4977 GB, free: 2.043 MB / 382.1 MB Notification: Performance of Backend: time 5.71e-07/0.1227, allocations: 4 kB / 0.4977 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.1242, allocations: 0.5461 MB / 0.4983 GB, free: 1.535 MB / 382.1 MB Notification: Performance of SimCode: time 0.001176/0.1254, allocations: 0.9086 MB / 0.4991 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of Templates: time 0.006442/0.1319, allocations: 2.859 MB / 0.5019 GB, free: 13.72 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches