Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 115 kB / 17.09 MB, free: 6.008 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.00155/0.00155, allocations: 190.2 kB / 18.02 MB, free: 5.094 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.621/1.621, 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.228/0.228, 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.00151/0.00151, allocations: 71.91 kB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1232, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003846/0.1271, allocations: 1.687 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1298, allocations: 1.412 MB / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.13, allocations: 0 / 0.4916 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1304, allocations: 43.77 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1307, allocations: 59.69 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.1311, allocations: 95.7 kB / 0.4918 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1313, allocations: 87.81 kB / 0.4919 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1314, allocations: 20.22 kB / 0.4919 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1316, allocations: 51.7 kB / 0.492 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.1317, allocations: 31.86 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1318, allocations: 7.938 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.132, allocations: 63.95 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.132, allocations: 11.98 kB / 0.4921 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.1321, allocations: 31.8 kB / 0.4921 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.1324, allocations: 127.6 kB / 0.4923 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1324, allocations: 4 kB / 0.4923 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1324, allocations: 4 kB / 0.4923 GB, free: 7.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1324, allocations: 0 / 0.4923 GB, free: 7.961 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.0005929/0.133, allocations: 399 kB / 0.4926 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1331, allocations: 15.89 kB / 0.4927 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.1332, allocations: 8.844 kB / 0.4927 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1335, allocations: 199.6 kB / 0.4929 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1335, allocations: 4.375 kB / 0.4929 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1335, allocations: 8.125 kB / 0.4929 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1337, allocations: 79.31 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1338, allocations: 0 / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1338, allocations: 0 / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1338, allocations: 0 / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.1339, allocations: 19.98 kB / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.1343, allocations: 288.7 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1345, allocations: 58.62 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.1345, allocations: 24.84 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.1346, allocations: 0 / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1347, allocations: 67.39 kB / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.1348, allocations: 0 / 0.4934 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005575/0.1353, allocations: 173.3 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1354, allocations: 81.11 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1355, allocations: 149.8 kB / 0.4938 GB, free: 6.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1356, allocations: 29.7 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.1356, allocations: 92.14 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.1357, allocations: 27.64 kB / 0.4939 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1357, allocations: 17.72 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1358, allocations: 334.7 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.1359, allocations: 23.98 kB / 0.4943 GB, free: 5.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.136, allocations: 42.5 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1361, allocations: 61.78 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1361, allocations: 0 / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1363, allocations: 101.5 kB / 0.4945 GB, free: 5.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1363, allocations: 8.062 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1364, allocations: 4 kB / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1364, allocations: 0 / 0.4945 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.1365, allocations: 19.98 kB / 0.4945 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1365, allocations: 0 / 0.4945 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.1365, allocations: 4 kB / 0.4945 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1366, allocations: 7.938 kB / 0.4945 GB, free: 5.41 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.0001007/0.1367, allocations: 125.7 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1367, allocations: 11.81 kB / 0.4946 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.1368, allocations: 20.7 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1368, allocations: 0 / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1368, allocations: 4 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1368, allocations: 85.02 kB / 0.4947 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1369, allocations: 7.938 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.1369, allocations: 3.984 kB / 0.4948 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1369, allocations: 4 kB / 0.4948 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002326/0.1372, allocations: 172.9 kB / 0.4949 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002543/0.1375, allocations: 282.6 kB / 0.4952 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.742e-05/0.1375, allocations: 23.98 kB / 0.4952 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.1376, allocations: 118.7 kB / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of Backend: time 7.22e-07/0.1376, allocations: 0 / 0.4953 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.1391, allocations: 0.5206 MB / 0.4958 GB, free: 4.047 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006644/0.1398, allocations: 0.6438 MB / 0.4965 GB, free: 3.352 MB / 382.1 MB Notification: Performance of Templates: time 0.005085/0.1449, allocations: 2.011 MB / 0.4984 GB, free: 1.336 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches