Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001108/0.001108, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.353/1.353, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2184/0.2184, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.88 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003151/0.1174, allocations: 1.58 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.1183, allocations: 423.2 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.1184, allocations: 0 / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1187, allocations: 75.77 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.119, allocations: 59.69 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1193, allocations: 118.9 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.1195, allocations: 63.89 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1196, allocations: 24.17 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.1197, allocations: 35.78 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1199, allocations: 51.88 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1199, allocations: 4 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.12, allocations: 43.98 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1201, allocations: 19.94 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.1201, allocations: 35.72 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1203, allocations: 96 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1203, allocations: 3.938 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1203, allocations: 0 / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1203, allocations: 0 / 471.9 MB, free: 11.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005771/0.1209, allocations: 414.9 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.121, allocations: 8.031 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.121, allocations: 12.83 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1212, allocations: 196.1 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1212, allocations: 4.375 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1213, allocations: 384 / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1214, allocations: 57.61 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1214, allocations: 7.906 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1214, allocations: 0 / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.1215, allocations: 0 / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1216, allocations: 31.91 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.1221, allocations: 300.8 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1223, allocations: 42.56 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.1223, allocations: 20.94 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1224, allocations: 0 / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1224, allocations: 34.5 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1224, allocations: 4 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009851/0.1234, allocations: 237 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1234, allocations: 51.41 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1237, allocations: 218.1 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1237, allocations: 25.7 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.1238, allocations: 108 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.1239, allocations: 27.64 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.1239, allocations: 17.72 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1241, allocations: 322.8 kB / 474 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.1242, allocations: 27.98 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.1243, allocations: 31.97 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1245, allocations: 76.89 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1245, allocations: 3.938 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002306/0.1247, allocations: 113.5 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1247, allocations: 4 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1248, allocations: 7.938 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1248, allocations: 0 / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1249, allocations: 15.98 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1249, allocations: 7.938 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.125, allocations: 12 kB / 474.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.125, allocations: 4 kB / 474.3 MB, free: 9.141 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 (8): * Single equations (assignments): 8 * 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.0001047/0.1251, allocations: 125.8 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.1251, allocations: 15.91 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.1254, allocations: 126.6 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1255, allocations: 8 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1255, allocations: 7.922 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1255, allocations: 0 / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.1261, allocations: 415.2 kB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1261, allocations: 0 / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.1262, allocations: 19.92 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1262, allocations: 4.031 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1262, allocations: 4 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1262, allocations: 3.938 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1262, allocations: 0 / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.1266, allocations: 212.2 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1268, allocations: 88.95 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1268, allocations: 8 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.1269, allocations: 4 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.1269, allocations: 7.984 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.127, allocations: 4 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1271, allocations: 155.2 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1271, allocations: 0 / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1274, allocations: 20 kB / 475.5 MB, free: 7.824 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 (8): * Single equations (assignments): 8 * 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.001296/0.1287, allocations: 463.7 kB / 475.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1289, allocations: 79.92 kB / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.129, allocations: 0 / 476 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.1291, allocations: 43.92 kB / 476 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.1295, allocations: 27.92 kB / 476.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.13, allocations: 247.2 kB / 476.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1305, allocations: 0.7157 MB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.1307, allocations: 24.95 kB / 477 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.1308, allocations: 11.44 kB / 477 MB, free: 6.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1308, allocations: 3.938 kB / 477.1 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.0043/0.1351, allocations: 1.357 MB / 478.4 MB, free: 5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches