Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001521/0.001522, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.713/1.713, allocations: 205.1 MB / 223.1 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.2196/0.2196, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001819/0.001819, allocations: 69.66 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 57.79 MB / 440.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003739/0.107, allocations: 1.589 MB / 442.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.1079, allocations: 351.4 kB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.108, allocations: 0 / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.1084, allocations: 71.77 kB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.1087, allocations: 67.73 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1092, allocations: 151.3 kB / 442.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1095, allocations: 79.75 kB / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.1096, allocations: 31.91 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.1097, allocations: 35.89 kB / 442.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1098, allocations: 43.84 kB / 442.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1098, allocations: 4 kB / 442.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1099, allocations: 31.98 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.11, allocations: 27.91 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.1101, allocations: 39.67 kB / 443 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1103, allocations: 91.72 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1104, allocations: 4 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1104, allocations: 0 / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1104, allocations: 0 / 443.1 MB, free: 4.262 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.0004848/0.1109, allocations: 410.9 kB / 443.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1109, allocations: 11.89 kB / 443.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.111, allocations: 8.844 kB / 443.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1111, allocations: 197 kB / 443.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1111, allocations: 8.375 kB / 443.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.1112, allocations: 384 / 443.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1113, allocations: 69.73 kB / 443.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1114, allocations: 4 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1114, allocations: 0 / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1114, allocations: 3.938 kB / 443.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1115, allocations: 39.97 kB / 443.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1119, allocations: 312.7 kB / 444.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.112, allocations: 50.5 kB / 444.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1121, allocations: 24.94 kB / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1121, allocations: 0 / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1122, allocations: 42.5 kB / 444.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1122, allocations: 4 kB / 444.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007862/0.113, allocations: 221.1 kB / 444.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.113, allocations: 55.41 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1132, allocations: 212.7 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1132, allocations: 29.7 kB / 444.8 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.1133, allocations: 104 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1133, allocations: 23.7 kB / 444.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1133, allocations: 17.72 kB / 444.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.1134, allocations: 326.8 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1135, allocations: 35.97 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1136, allocations: 52.02 kB / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.1138, allocations: 92.8 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1139, allocations: 0 / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002587/0.1141, allocations: 117.5 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1141, allocations: 5.25 kB / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1142, allocations: 4 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1142, allocations: 4 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1143, allocations: 19.97 kB / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1143, allocations: 0 / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.1144, allocations: 11.94 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1144, allocations: 0 / 445.6 MB, free: 1.57 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.793e-05/0.1145, allocations: 141.6 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1145, allocations: 19.81 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.1149, allocations: 135 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1149, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1149, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1149, allocations: 11.92 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.1153, allocations: 410.4 kB / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1154, allocations: 3.938 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.1154, allocations: 23.98 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1155, allocations: 0 / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1155, allocations: 3.938 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1155, allocations: 4 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1155, allocations: 0 / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1158, allocations: 227.6 kB / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.1158, allocations: 85.02 kB / 446.6 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1158, allocations: 3.938 kB / 446.6 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.1159, allocations: 7.984 kB / 446.6 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.116, allocations: 15.97 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.116, allocations: 4 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.1161, allocations: 159.9 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1161, allocations: 7.938 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1163, allocations: 12 kB / 446.8 MB, free: 220 kB / 318.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.0009119/0.1172, allocations: 401.9 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.1176, allocations: 95.75 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1176, allocations: 4 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1178, allocations: 51.91 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1182, allocations: 15.89 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.1189, allocations: 259 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1193, allocations: 0.7119 MB / 448.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.1193, allocations: 15.98 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1194, allocations: 23.38 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1194, allocations: 0 / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of Templates: time 0.00443/0.1238, allocations: 1.31 MB / 449.7 MB, free: 13.38 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches