Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 112.6 kB / 17.33 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.00205/0.00205, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2159/0.2159, allocations: 44.18 MB / 336.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.98 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 60.84 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003021/0.1082, allocations: 1.66 MB / 470.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009214/0.1092, allocations: 427.2 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.1093, allocations: 0 / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1096, allocations: 27.89 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1099, allocations: 35.84 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1103, allocations: 110.2 kB / 471 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1105, allocations: 71.89 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1107, allocations: 32.2 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.1107, allocations: 31.86 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1108, allocations: 39.83 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1109, allocations: 4 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.111, allocations: 43.98 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.1111, allocations: 31.91 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.1111, allocations: 27.75 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1114, allocations: 107.6 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1114, allocations: 0 / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1114, allocations: 0 / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1114, allocations: 0 / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005627/0.112, allocations: 403.1 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.112, allocations: 8.031 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.1121, allocations: 12.84 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1123, allocations: 203.1 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1123, allocations: 4.375 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1123, allocations: 8.375 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1125, allocations: 77.78 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1125, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1125, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1126, allocations: 4 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1127, allocations: 43.91 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.1132, allocations: 328.7 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1133, allocations: 78.42 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.1134, allocations: 24.84 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1134, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1135, allocations: 34.56 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1135, allocations: 0 / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.1145, allocations: 325.4 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1146, allocations: 59.41 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1148, allocations: 157.8 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1148, allocations: 25.7 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.1149, allocations: 112 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.1149, allocations: 39.36 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.115, allocations: 29.72 kB / 473.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1151, allocations: 318.8 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1152, allocations: 47.97 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.1153, allocations: 47.97 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1155, allocations: 103.6 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1156, allocations: 0 / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002847/0.1159, allocations: 149.5 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1159, allocations: 4 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1159, allocations: 7.938 kB / 474 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1159, allocations: 4 kB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.116, allocations: 31.91 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1161, allocations: 0 / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.1161, allocations: 8 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1161, allocations: 4 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001144/0.1162, allocations: 125.8 kB / 474.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1163, allocations: 7.906 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.1167, allocations: 190.7 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1167, allocations: 0 / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1167, allocations: 0 / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1167, allocations: 0 / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006376/0.1174, allocations: 499.1 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1174, allocations: 0 / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.1175, allocations: 27.92 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1175, allocations: 4 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1175, allocations: 0 / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1175, allocations: 0 / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1175, allocations: 7.984 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.1178, allocations: 264 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1179, allocations: 81.02 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1179, allocations: 8 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.118, allocations: 7.984 kB / 475.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1181, allocations: 15.92 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.1181, allocations: 4 kB / 475.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.1182, allocations: 117.2 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1182, allocations: 0 / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1184, allocations: 39.98 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.00103/0.1195, allocations: 447.1 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1198, allocations: 119.9 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1198, allocations: 0 / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1199, allocations: 59.91 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1203, allocations: 23.92 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1209, allocations: 299 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1212, allocations: 0.7041 MB / 477 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.671e-05/0.1213, allocations: 28.53 kB / 477 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.1213, allocations: 19.42 kB / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1213, allocations: 0 / 477 MB, free: 6.16 MB / 350.1 MB Notification: Performance of Templates: time 0.004095/0.1254, allocations: 1.525 MB / 478.6 MB, free: 4.648 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches