Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 105 kB / 16.94 MB, free: 6.156 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.001607/0.001607, allocations: 191.3 kB / 17.86 MB, free: 5.289 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.485/1.485, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2236/0.2236, allocations: 43.52 MB / 314.6 MB, free: 0.5391 MB / 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.001715/0.001715, allocations: 71.48 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1094, allocations: 57.79 MB / 441.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003018/0.1125, allocations: 1.611 MB / 442.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1137, allocations: 0.9573 MB / 443.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.1137, allocations: 0 / 443.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.114, allocations: 31.84 kB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1142, allocations: 43.77 kB / 443.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1145, allocations: 147.4 kB / 444 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1147, allocations: 71.81 kB / 444 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1148, allocations: 19.94 kB / 444.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.1149, allocations: 27.92 kB / 444.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.115, allocations: 31.78 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.115, allocations: 4 kB / 444.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1151, allocations: 55.97 kB / 444.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.1152, allocations: 19.91 kB / 444.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.1152, allocations: 19.88 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.1154, allocations: 99.75 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1154, allocations: 3.938 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1154, allocations: 0 / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1155, allocations: 4 kB / 444.3 MB, free: 3.773 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.000438/0.1159, allocations: 387.2 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1159, allocations: 15.89 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.116, allocations: 8.781 kB / 444.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1162, allocations: 188.3 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1162, allocations: 384 / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1162, allocations: 4.375 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1164, allocations: 75.52 kB / 445 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1164, allocations: 0 / 445 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1164, allocations: 11.98 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1164, allocations: 0 / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.1166, allocations: 39.84 kB / 445 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.117, allocations: 312.6 kB / 445.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1171, allocations: 50.55 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.1172, allocations: 24.94 kB / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1172, allocations: 0 / 445.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1172, allocations: 38.48 kB / 445.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1172, allocations: 4 kB / 445.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000741/0.118, allocations: 213.4 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.118, allocations: 85.03 kB / 445.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1181, allocations: 145.3 kB / 445.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1182, allocations: 29.7 kB / 445.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.1182, allocations: 96.08 kB / 446 MB, free: 1.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1182, allocations: 19.7 kB / 446 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1183, allocations: 21.72 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.1183, allocations: 322.8 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1184, allocations: 39.97 kB / 446.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1185, allocations: 53.69 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1187, allocations: 84.86 kB / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1188, allocations: 0 / 446.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002496/0.119, allocations: 133.5 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.119, allocations: 8.031 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.119, allocations: 0 / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1191, allocations: 0 / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1192, allocations: 19.98 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1192, allocations: 0 / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.1193, allocations: 15.92 kB / 446.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1193, allocations: 0 / 446.7 MB, free: 1.137 MB / 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 7.734e-05/0.1194, allocations: 125.8 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.1194, allocations: 7.906 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.1197, allocations: 133.9 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1197, allocations: 0 / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1197, allocations: 7.984 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1198, allocations: 3.938 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.1202, allocations: 402.5 kB / 447.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1202, allocations: 0 / 447.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.1203, allocations: 23.92 kB / 447.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1203, allocations: 0 / 447.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1203, allocations: 7.938 kB / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1203, allocations: 0 / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1203, allocations: 0 / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1206, allocations: 223.8 kB / 447.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.1206, allocations: 85.02 kB / 447.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1206, allocations: 7.875 kB / 447.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1207, allocations: 11.98 kB / 447.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1208, allocations: 7.922 kB / 447.7 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1208, allocations: 4.094 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.1209, allocations: 115.2 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1212, allocations: 23.98 kB / 447.9 MB, free: 15.86 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.001026/0.1222, allocations: 446.8 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.1226, allocations: 95.92 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1226, allocations: 0 / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1227, allocations: 51.89 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1231, allocations: 15.94 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.1236, allocations: 224.3 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1239, allocations: 0.6937 MB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1239, allocations: 23.42 kB / 449.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1239, allocations: 3.938 kB / 449.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of Templates: time 0.003682/0.1276, allocations: 1.791 MB / 451.2 MB, free: 12.56 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches