Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001104/0.001104, 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.517/1.517, allocations: 205.1 MB / 223.8 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.2076/0.2076, allocations: 43.51 MB / 314.7 MB, free: 496 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.001532/0.001532, allocations: 64.12 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003081/0.1053, allocations: 1.611 MB / 443.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005128/0.1058, allocations: 343.5 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.1059, allocations: 0 / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1061, allocations: 51.81 kB / 444 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1063, allocations: 55.75 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1066, allocations: 154.8 kB / 444.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1068, allocations: 71.77 kB / 444.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1069, allocations: 27.92 kB / 444.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.107, allocations: 27.91 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.1071, allocations: 43.83 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1071, allocations: 4 kB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-05/0.1072, allocations: 31.94 kB / 444.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.1073, allocations: 19.92 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.1073, allocations: 31.8 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1075, allocations: 91.7 kB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1075, allocations: 4 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1075, allocations: 0 / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1075, allocations: 0 / 444.5 MB, free: 3.602 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.0004637/0.108, allocations: 387.1 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.108, allocations: 11.89 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1081, allocations: 8.844 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1082, allocations: 205.2 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1083, allocations: 384 / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1083, allocations: 8.375 kB / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1085, allocations: 69.78 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1085, allocations: 0 / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1085, allocations: 0 / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1085, allocations: 4 kB / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1086, allocations: 35.95 kB / 445.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.109, allocations: 304.8 kB / 445.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1091, allocations: 46.56 kB / 445.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.1092, allocations: 24.94 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1092, allocations: 4 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.1093, allocations: 34.55 kB / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1093, allocations: 4 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006739/0.1099, allocations: 225.1 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.11, allocations: 51.41 kB / 445.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1101, allocations: 169.7 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1101, allocations: 29.7 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.1102, allocations: 108 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1102, allocations: 27.7 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1102, allocations: 21.72 kB / 446.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.1103, allocations: 322.8 kB / 446.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.1104, allocations: 31.97 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.702e-05/0.1105, allocations: 35.97 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1107, allocations: 92.8 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1107, allocations: 0 / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002257/0.1109, allocations: 117.5 kB / 446.8 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1109, allocations: 9.25 kB / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1109, allocations: 0 / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.111, allocations: 4 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1111, allocations: 23.92 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1111, allocations: 3.938 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1111, allocations: 11.89 kB / 446.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1112, allocations: 4 kB / 446.9 MB, free: 0.9922 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 6.298e-05/0.1112, allocations: 129.8 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1113, allocations: 11.84 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1115, allocations: 146.6 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1115, allocations: 3.938 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1116, allocations: 3.938 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1116, allocations: 0 / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.112, allocations: 402.5 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.112, allocations: 8 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.112, allocations: 16.27 kB / 447.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1121, allocations: 3.938 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1121, allocations: 4 kB / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1121, allocations: 0 / 447.6 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1121, allocations: 3.938 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1124, allocations: 227.4 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1124, allocations: 84.95 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1125, allocations: 4 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.1125, allocations: 11.98 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1126, allocations: 7.984 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1126, allocations: 0 / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1127, allocations: 128.6 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1128, allocations: 4 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.113, allocations: 24 kB / 448.1 MB, free: 15.68 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.0008427/0.1138, allocations: 400.5 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.1142, allocations: 95.86 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1142, allocations: 0 / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1143, allocations: 47.97 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1147, allocations: 20.48 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.1151, allocations: 237.9 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1154, allocations: 0.7041 MB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.1155, allocations: 20.3 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.1155, allocations: 15.44 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1155, allocations: 4 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.003633/0.1192, allocations: 1.279 MB / 450.9 MB, free: 12.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches