Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001218/0.001219, allocations: 194 kB / 18.12 MB, free: 5.363 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.469/1.469, allocations: 222.9 MB / 241.8 MB, free: 13.88 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.2265/0.2265, allocations: 44.16 MB / 336.1 MB, free: 2.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 65.12 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 60.82 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002929/0.1212, allocations: 1.613 MB / 470.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1228, allocations: 1.008 MB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.1229, allocations: 8 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.1231, allocations: 19.91 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1233, allocations: 39.84 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1236, allocations: 94.58 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1237, allocations: 47.91 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1239, allocations: 15.98 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.1239, allocations: 23.81 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1241, allocations: 27.89 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1241, allocations: 4 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1243, allocations: 43.98 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.1243, allocations: 11.92 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.1244, allocations: 19.86 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.1246, allocations: 87.78 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1246, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1246, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1246, allocations: 3.938 kB / 471.6 MB, free: 11.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004865/0.1251, allocations: 375.6 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1252, allocations: 16.02 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.1252, allocations: 8.781 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1254, allocations: 188.2 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-06/0.1254, allocations: 384 / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1255, allocations: 8.359 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1256, allocations: 71.52 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1257, allocations: 7.938 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1257, allocations: 0 / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1257, allocations: 4 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1258, allocations: 19.98 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.1262, allocations: 276.9 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1264, allocations: 50.5 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1265, allocations: 20.94 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1265, allocations: 0 / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1266, allocations: 30.56 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.1266, allocations: 0 / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005969/0.1272, allocations: 149.3 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1272, allocations: 81.09 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1274, allocations: 137 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1274, allocations: 25.7 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1274, allocations: 96.12 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.1275, allocations: 11.75 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.1276, allocations: 21.7 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1277, allocations: 322.8 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.1278, allocations: 27.92 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.1278, allocations: 33.69 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.128, allocations: 52.83 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.128, allocations: 0 / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002038/0.1282, allocations: 85.52 kB / 473.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1283, allocations: 12.03 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1283, allocations: 0 / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1283, allocations: 3.984 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.1284, allocations: 8 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1284, allocations: 0 / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.1284, allocations: 8.234 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1284, allocations: 7.938 kB / 473.7 MB, free: 9.434 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 (5): * Single equations (assignments): 5 * 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.000101/0.1285, allocations: 118.3 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1286, allocations: 7.906 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.1288, allocations: 105.5 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1288, allocations: 0 / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1289, allocations: 0 / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1289, allocations: 0 / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.1294, allocations: 354.5 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1294, allocations: 4 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.1295, allocations: 19.92 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1295, allocations: 0 / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1295, allocations: 0 / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1295, allocations: 3.938 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1295, allocations: 0 / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1298, allocations: 183.4 kB / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.1298, allocations: 81.11 kB / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1298, allocations: 0 / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.1299, allocations: 7.938 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.13, allocations: 8.266 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.13, allocations: 4 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.383e-05/0.1301, allocations: 103.3 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1301, allocations: 0 / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1304, allocations: 27.89 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001065/0.1314, allocations: 457.1 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1317, allocations: 47.97 kB / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1317, allocations: 0 / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.1318, allocations: 27.98 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1321, allocations: 17.81 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.1326, allocations: 179.2 kB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.133, allocations: 0.6927 MB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.1331, allocations: 20.22 kB / 476.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.1332, allocations: 15.42 kB / 476.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1332, allocations: 0 / 476.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of Templates: time 0.005542/0.1388, allocations: 1.313 MB / 477.4 MB, free: 5.691 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches