Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 111.5 kB / 17.04 MB, free: 5.816 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.001128/0.001128, allocations: 195 kB / 17.98 MB, free: 5.027 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.796/1.796, allocations: 205.1 MB / 223.8 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.2287/0.2287, allocations: 43.52 MB / 314.7 MB, free: 488 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.001495/0.001495, allocations: 69.45 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.0033/0.1143, allocations: 1.608 MB / 443.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1155, allocations: 0.9573 MB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.1156, allocations: 4 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1159, allocations: 19.86 kB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1162, allocations: 47.77 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1166, allocations: 163.2 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1167, allocations: 63.84 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.1169, allocations: 27.91 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.1169, allocations: 23.92 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1171, allocations: 35.78 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1171, allocations: 4 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1173, allocations: 51.97 kB / 445 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1173, allocations: 19.92 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.1174, allocations: 27.8 kB / 445 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1176, allocations: 95.77 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1176, allocations: 0 / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1176, allocations: 4 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1176, allocations: 0 / 445.1 MB, free: 2.992 MB / 318.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.0004813/0.1181, allocations: 391.1 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1181, allocations: 11.89 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1182, allocations: 8.844 kB / 445.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.1184, allocations: 192.2 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1184, allocations: 384 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1184, allocations: 8.375 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1186, allocations: 79.52 kB / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1186, allocations: 0 / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1187, allocations: 0 / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1187, allocations: 0 / 445.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1188, allocations: 47.89 kB / 445.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1192, allocations: 304.7 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1193, allocations: 46.56 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.1194, allocations: 24.94 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1194, allocations: 0 / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1195, allocations: 42.48 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.1195, allocations: 4 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007276/0.1202, allocations: 213.4 kB / 446.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1203, allocations: 85.03 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1204, allocations: 133.8 kB / 446.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1204, allocations: 29.7 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.1204, allocations: 100.1 kB / 446.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.1205, allocations: 15.72 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1205, allocations: 21.7 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.1206, allocations: 322.8 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.1207, allocations: 39.95 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.1208, allocations: 57.75 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.121, allocations: 84.8 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.121, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002252/0.1212, allocations: 129.5 kB / 447.5 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1212, allocations: 9.281 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1212, allocations: 0 / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1212, allocations: 288 / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1214, allocations: 19.98 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1214, allocations: 0 / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.1214, allocations: 15.92 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1214, allocations: 4 kB / 447.5 MB, free: 368 kB / 318.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 (7): * Single equations (assignments): 7 * 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 6.076e-05/0.1215, allocations: 121.8 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1215, allocations: 23.81 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.1218, allocations: 129.9 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1218, allocations: 4 kB / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1218, allocations: 0 / 447.8 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1219, allocations: 7.922 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.1224, allocations: 406.5 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1225, allocations: 0 / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.1225, allocations: 23.92 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1225, allocations: 0 / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1226, allocations: 3.938 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1226, allocations: 4 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1226, allocations: 0 / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1229, allocations: 219.8 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1229, allocations: 81.02 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.123, allocations: 3.938 kB / 448.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1231, allocations: 15.98 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1231, allocations: 7.984 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1231, allocations: 0 / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.1232, allocations: 114.6 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1232, allocations: 3.938 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1235, allocations: 27.98 kB / 448.7 MB, free: 15.08 MB / 334.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 (7): * Single equations (assignments): 7 * 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.001072/0.1246, allocations: 446.8 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.1249, allocations: 87.94 kB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1249, allocations: 0 / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1251, allocations: 51.89 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1254, allocations: 16 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.1258, allocations: 190.5 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1261, allocations: 0.7094 MB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.786e-05/0.1262, allocations: 19.97 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1263, allocations: 15.42 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1263, allocations: 0 / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004123/0.1304, allocations: 1.536 MB / 451.7 MB, free: 12.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches