Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 107.4 kB / 17.03 MB, free: 6.102 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.001327/0.001327, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.378/1.378, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2102/0.2102, allocations: 43.53 MB / 314.7 MB, free: 472 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.001638/0.001638, allocations: 68.36 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 57.8 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002577/0.1095, allocations: 1.648 MB / 443.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004796/0.11, allocations: 347.4 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1101, allocations: 0 / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.1103, allocations: 23.86 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1105, allocations: 51.7 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1107, allocations: 115.4 kB / 444.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1108, allocations: 79.7 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.1109, allocations: 24.16 kB / 444.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.111, allocations: 31.86 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.111, allocations: 39.83 kB / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1111, allocations: 4 kB / 444.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.1112, allocations: 59.91 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.1112, allocations: 19.92 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.1112, allocations: 35.78 kB / 444.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1114, allocations: 103.8 kB / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1114, allocations: 0 / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1114, allocations: 0 / 444.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1114, allocations: 0 / 444.5 MB, free: 3.539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004502/0.1119, allocations: 423.1 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.1119, allocations: 12.03 kB / 445 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.112, allocations: 12.75 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1121, allocations: 192.1 kB / 445.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1121, allocations: 4.359 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1121, allocations: 12.31 kB / 445.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1124, allocations: 95.48 kB / 445.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1124, allocations: 0 / 445.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1124, allocations: 4 kB / 445.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1124, allocations: 0 / 445.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.1127, allocations: 71.86 kB / 445.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.113, allocations: 304.7 kB / 445.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1132, allocations: 70.53 kB / 445.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.1133, allocations: 40.94 kB / 445.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1133, allocations: 4 kB / 445.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1134, allocations: 38.5 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1134, allocations: 4 kB / 445.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001329/0.1147, allocations: 356.9 kB / 446.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1147, allocations: 85.09 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.1149, allocations: 149.5 kB / 446.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1149, allocations: 25.7 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.1149, allocations: 92.14 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.1149, allocations: 31.55 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.115, allocations: 17.72 kB / 446.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.115, allocations: 322.8 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1153, allocations: 67.92 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1155, allocations: 85.73 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.1159, allocations: 148.9 kB / 447.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.116, allocations: 4 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004923/0.1165, allocations: 181.4 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1165, allocations: 4 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1165, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1165, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1167, allocations: 35.97 kB / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1167, allocations: 0 / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1168, allocations: 35.89 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1169, allocations: 0 / 447.4 MB, free: 440 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 (8): * Single equations (assignments): 8 * 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 5.61e-05/0.1169, allocations: 121.8 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.117, allocations: 11.91 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.1175, allocations: 198.5 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1175, allocations: 0 / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1176, allocations: 8 kB / 447.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.1176, allocations: 3.938 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.1184, allocations: 466.4 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1184, allocations: 0 / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1186, allocations: 35.91 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1186, allocations: 0 / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1186, allocations: 15.88 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1186, allocations: 4 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1186, allocations: 0 / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.1192, allocations: 287.2 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1193, allocations: 77.11 kB / 448.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.1193, allocations: 3.938 kB / 448.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1195, allocations: 23.97 kB / 448.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.1195, allocations: 11.98 kB / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.1195, allocations: 0 / 448.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.583e-05/0.1196, allocations: 119.2 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.1197, allocations: 4 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1199, allocations: 31.94 kB / 448.8 MB, free: 14.93 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 (8): * Single equations (assignments): 8 * 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.0009875/0.1209, allocations: 450.9 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006025/0.1215, allocations: 151.8 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1216, allocations: 0 / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.1218, allocations: 83.86 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1222, allocations: 23.92 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1227, allocations: 194.3 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1229, allocations: 0.6924 MB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.123, allocations: 20.95 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.1231, allocations: 15.42 kB / 450.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1231, allocations: 4 kB / 450.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of Templates: time 0.00476/0.1278, allocations: 2.027 MB / 452.4 MB, free: 11.33 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches