Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008711/0.0008713, allocations: 99.17 kB / 18.01 MB, free: 5.734 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.00108/0.00108, allocations: 179.2 kB / 18.91 MB, free: 4.871 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.313/1.313, allocations: 223.3 MB / 243 MB, free: 14.36 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.2001/0.2001, allocations: 44.24 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003716, allocations: 11.98 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1115, allocations: 61.91 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001963/0.1135, allocations: 1.357 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007891/0.1143, allocations: 411.2 kB / 474.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.1143, allocations: 4 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.1146, allocations: 67.84 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1148, allocations: 59.8 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1152, allocations: 115 kB / 474.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1154, allocations: 75.81 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1155, allocations: 23.98 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.1156, allocations: 27.84 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1157, allocations: 51.81 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1157, allocations: 4 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1158, allocations: 39.98 kB / 475.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.1159, allocations: 23.91 kB / 475.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.1159, allocations: 57.44 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1161, allocations: 79.83 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1161, allocations: 0 / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1161, allocations: 0 / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1161, allocations: 0 / 475.3 MB, free: 10.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005573/0.1167, allocations: 411.4 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1167, allocations: 8.031 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1168, allocations: 12.75 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.117, allocations: 204.1 kB / 475.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.117, allocations: 4.312 kB / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.117, allocations: 4.375 kB / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1172, allocations: 69.73 kB / 476 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1172, allocations: 8 kB / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1173, allocations: 0 / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1173, allocations: 0 / 476 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1174, allocations: 51.97 kB / 476 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.1178, allocations: 308.7 kB / 476.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1181, allocations: 62.55 kB / 476.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.1182, allocations: 28.97 kB / 476.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1182, allocations: 0 / 476.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1182, allocations: 30.56 kB / 476.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1182, allocations: 4 kB / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001575/0.1198, allocations: 472.7 kB / 476.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1199, allocations: 63.34 kB / 477 MB, free: 9.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.12, allocations: 198.2 kB / 477.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1201, allocations: 29.7 kB / 477.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.1201, allocations: 108 kB / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1202, allocations: 35.45 kB / 477.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.1202, allocations: 17.72 kB / 477.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1203, allocations: 322.8 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1205, allocations: 51.97 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1206, allocations: 47.97 kB / 477.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1209, allocations: 120.8 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1209, allocations: 0 / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003351/0.1213, allocations: 161.4 kB / 478.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1213, allocations: 4 kB / 478.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1213, allocations: 0 / 478.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1213, allocations: 0 / 478.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1214, allocations: 35.92 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1214, allocations: 0 / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.1215, allocations: 19.98 kB / 478.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1215, allocations: 0 / 478.1 MB, free: 7.867 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 (11): * Single equations (assignments): 11 * 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.0001138/0.1217, allocations: 130.4 kB / 478.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.1217, allocations: 15.81 kB / 478.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.1221, allocations: 178.8 kB / 478.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1221, allocations: 11.88 kB / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1221, allocations: 4 kB / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1222, allocations: 0 / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.1228, allocations: 492 kB / 478.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1229, allocations: 4 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.123, allocations: 31.97 kB / 479 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.123, allocations: 0 / 479 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.123, allocations: 4 kB / 479 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.123, allocations: 4.062 kB / 479 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.123, allocations: 0 / 479 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.1234, allocations: 272.8 kB / 479.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1235, allocations: 89 kB / 479.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1235, allocations: 4 kB / 479.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1236, allocations: 15.98 kB / 479.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1237, allocations: 15.97 kB / 479.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.1237, allocations: 4 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1238, allocations: 155.2 kB / 479.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1238, allocations: 0 / 479.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1241, allocations: 28 kB / 479.5 MB, free: 6.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001061/0.1251, allocations: 451.7 kB / 480 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.1255, allocations: 135.7 kB / 480.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1255, allocations: 0 / 480.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1257, allocations: 67.91 kB / 480.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.126, allocations: 23.92 kB / 480.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.1266, allocations: 341.2 kB / 480.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.1269, allocations: 0.7121 MB / 481.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1269, allocations: 23.42 kB / 481.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1269, allocations: 0 / 481.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of Templates: time 0.003855/0.1308, allocations: 1.891 MB / 483.2 MB, free: 2.824 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches