Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 110 kB / 17.04 MB, free: 5.359 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.001691/0.001691, allocations: 194.6 kB / 17.98 MB, free: 4.898 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.416/1.416, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.1938/0.1938, allocations: 43.52 MB / 314.7 MB, free: 492 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.00149/0.00149, allocations: 69.77 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1107, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002421/0.1131, allocations: 1.557 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00046/0.1136, allocations: 327.5 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1137, allocations: 0 / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.1139, allocations: 127.7 kB / 444 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1141, allocations: 91.7 kB / 444.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1143, allocations: 83.77 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1145, allocations: 83.84 kB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1146, allocations: 15.94 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.1146, allocations: 51.75 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.836e-05/0.1147, allocations: 75.86 kB / 444.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1147, allocations: 7.938 kB / 444.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.1148, allocations: 27.98 kB / 444.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.1149, allocations: 23.92 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.1149, allocations: 35.73 kB / 444.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.115, allocations: 103.6 kB / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1151, allocations: 0 / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1151, allocations: 0 / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1151, allocations: 0 / 444.6 MB, free: 3.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00035/0.1154, allocations: 422.8 kB / 445 MB, free: 3.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1155, allocations: 15.83 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1155, allocations: 16.75 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1157, allocations: 204 kB / 445.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1157, allocations: 384 / 445.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1157, allocations: 4.375 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1158, allocations: 45.81 kB / 445.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1158, allocations: 7.984 kB / 445.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1158, allocations: 0 / 445.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1158, allocations: 4 kB / 445.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.1159, allocations: 27.92 kB / 445.3 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.1162, allocations: 296.8 kB / 445.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1164, allocations: 38.56 kB / 445.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.1165, allocations: 24.94 kB / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1165, allocations: 0 / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.1165, allocations: 38.5 kB / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1165, allocations: 0 / 445.7 MB, free: 2.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004684/0.117, allocations: 157.3 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.117, allocations: 59.34 kB / 445.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1172, allocations: 266.3 kB / 446.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.1172, allocations: 25.7 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.1172, allocations: 112.1 kB / 446.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.1173, allocations: 27.58 kB / 446.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.1173, allocations: 21.7 kB / 446.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.1173, allocations: 330.8 kB / 446.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.1174, allocations: 19.98 kB / 446.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.955e-05/0.1175, allocations: 23.98 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1176, allocations: 53.02 kB / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1176, allocations: 4 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001451/0.1177, allocations: 85.5 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1178, allocations: 9.25 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1178, allocations: 0 / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1178, allocations: 0 / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.1178, allocations: 15.98 kB / 446.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1179, allocations: 4 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.1179, allocations: 7.938 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.1179, allocations: 4 kB / 446.9 MB, free: 1.008 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 (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 6.478e-05/0.118, allocations: 137.7 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.118, allocations: 11.81 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.1182, allocations: 110.6 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1182, allocations: 4 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1182, allocations: 0 / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1182, allocations: 0 / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.1186, allocations: 366.5 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1186, allocations: 4 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.1186, allocations: 11.98 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1186, allocations: 0 / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1187, allocations: 0 / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1187, allocations: 7.938 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1187, allocations: 4 kB / 447.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1188, allocations: 191.5 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.1189, allocations: 85.19 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1189, allocations: 4 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.119, allocations: 7.938 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.119, allocations: 7.984 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.119, allocations: 0 / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1192, allocations: 203.2 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1192, allocations: 0 / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1195, allocations: 8 kB / 448 MB, free: 15.76 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 (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.0008778/0.1203, allocations: 403.9 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1206, allocations: 63.89 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1206, allocations: 0 / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.1207, allocations: 23.98 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.121, allocations: 19.98 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.1214, allocations: 274.5 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1217, allocations: 0.7197 MB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.987e-05/0.1218, allocations: 15.97 kB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.1218, allocations: 11.44 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1218, allocations: 3.938 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Templates: time 0.003722/0.1256, allocations: 1.157 MB / 450.7 MB, free: 13.13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches