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.001086/0.001086, allocations: 115.5 kB / 17.09 MB, free: 5.98 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.00115/0.00115, allocations: 198.1 kB / 18.02 MB, free: 5.059 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.337/1.337, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2175/0.2175, allocations: 43.52 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.001396/0.001396, allocations: 69.47 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003397/0.1147, allocations: 1.842 MB / 0.4904 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1163, allocations: 0.8989 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1164, allocations: 4 kB / 0.4913 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.1169, allocations: 247.4 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1173, allocations: 191.4 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.1177, allocations: 147.6 kB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1181, allocations: 243.4 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1182, allocations: 33.5 kB / 0.4921 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1184, allocations: 123.6 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1186, allocations: 175.5 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1187, allocations: 4 kB / 0.4924 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1188, allocations: 51.91 kB / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.1189, allocations: 59.77 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.119, allocations: 87.34 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1193, allocations: 227.1 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1193, allocations: 0 / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1193, allocations: 8 kB / 0.4928 GB, free: 7.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1193, allocations: 0 / 0.4928 GB, free: 7.383 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.0007079/0.12, allocations: 0.5524 MB / 0.4934 GB, free: 6.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1201, allocations: 15.83 kB / 0.4934 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.1201, allocations: 28.56 kB / 0.4934 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1205, allocations: 292 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1205, allocations: 384 / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.1206, allocations: 12.12 kB / 0.4937 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1208, allocations: 103.3 kB / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1208, allocations: 0 / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1208, allocations: 0 / 0.4938 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1208, allocations: 4 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.121, allocations: 39.91 kB / 0.4938 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.1215, allocations: 460.9 kB / 0.4943 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1218, allocations: 109.3 kB / 0.4944 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.1219, allocations: 49.7 kB / 0.4944 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1219, allocations: 3.984 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1221, allocations: 117 kB / 0.4945 GB, free: 5.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.1222, allocations: 0 / 0.4945 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008649/0.123, allocations: 367.8 kB / 0.4949 GB, free: 5.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1231, allocations: 89.11 kB / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.1235, allocations: 481.5 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1236, allocations: 33.7 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1237, allocations: 164.3 kB / 0.4956 GB, free: 4.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1237, allocations: 55.36 kB / 0.4957 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1238, allocations: 29.72 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1239, allocations: 346.8 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.124, allocations: 43.98 kB / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1241, allocations: 70.84 kB / 0.4962 GB, free: 3.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1243, allocations: 119.5 kB / 0.4963 GB, free: 3.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1244, allocations: 0 / 0.4963 GB, free: 3.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003061/0.1247, allocations: 189.1 kB / 0.4964 GB, free: 3.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1247, allocations: 8 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1247, allocations: 0 / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1247, allocations: 4 kB / 0.4965 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1249, allocations: 35.91 kB / 0.4965 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1249, allocations: 7.938 kB / 0.4965 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.125, allocations: 4 kB / 0.4965 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.125, allocations: 8 kB / 0.4965 GB, free: 3.324 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.1251, allocations: 177.7 kB / 0.4967 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.1252, allocations: 31.62 kB / 0.4967 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.1253, allocations: 42.8 kB / 0.4968 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1253, allocations: 0 / 0.4968 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1253, allocations: 0 / 0.4968 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1253, allocations: 100.8 kB / 0.4968 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1254, allocations: 11.94 kB / 0.4969 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1255, allocations: 7.984 kB / 0.4969 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1255, allocations: 11.98 kB / 0.4969 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00038/0.1259, allocations: 324.9 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004014/0.1263, allocations: 437.4 kB / 0.4976 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001179/0.1264, allocations: 64.25 kB / 0.4977 GB, free: 2.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.1268, allocations: 363.1 kB / 0.498 GB, free: 1.734 MB / 382.1 MB Notification: Performance of Backend: time 1.843e-06/0.1268, allocations: 0 / 0.498 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.1284, allocations: 0.5565 MB / 0.4986 GB, free: 1.219 MB / 382.1 MB Notification: Performance of SimCode: time 0.001057/0.1295, allocations: 0.9207 MB / 0.4995 GB, free: 256 kB / 382.1 MB Notification: Performance of Templates: time 0.006599/0.1361, allocations: 2.89 MB / 0.5023 GB, free: 13.37 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