Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 184.6 kB / 16.92 MB, free: 6.918 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.94/1.94, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4379/0.4379, allocations: 43.58 MB / 315 MB, free: 8.938 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.0004648/0.0004647, allocations: 16.61 kB / 384.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1112, allocations: 58.86 MB / 443.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.00229/0.1135, allocations: 1.337 MB / 444.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.1142, allocations: 319.6 kB / 445.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.1143, allocations: 0 / 445.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1146, allocations: 43.88 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1147, allocations: 39.89 kB / 445.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.115, allocations: 111.8 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1152, allocations: 59.78 kB / 445.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1153, allocations: 20.16 kB / 445.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.1154, allocations: 23.91 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.1155, allocations: 35.84 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1155, allocations: 4 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.1156, allocations: 24 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.1157, allocations: 31.84 kB / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.1158, allocations: 49.5 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.116, allocations: 84 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.116, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.116, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.116, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.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.0005445/0.1165, allocations: 379.2 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1166, allocations: 12.03 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1166, allocations: 12.84 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1169, allocations: 196.1 kB / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1169, allocations: 384 / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.117, allocations: 12.31 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1172, allocations: 57.61 kB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1172, allocations: 4 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1172, allocations: 7.938 kB / 446.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1172, allocations: 0 / 446.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1174, allocations: 43.97 kB / 446.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.1179, allocations: 284.8 kB / 446.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.118, allocations: 54.5 kB / 446.6 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.1181, allocations: 20.94 kB / 446.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.1182, allocations: 4 kB / 446.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1182, allocations: 34.56 kB / 446.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1182, allocations: 4 kB / 446.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009319/0.1192, allocations: 245.1 kB / 446.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1192, allocations: 51.41 kB / 447 MB, free: 9.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1194, allocations: 178.4 kB / 447.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1194, allocations: 25.7 kB / 447.2 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1195, allocations: 96.12 kB / 447.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1195, allocations: 23.66 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1196, allocations: 9.719 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1197, allocations: 322.8 kB / 447.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1198, allocations: 43.97 kB / 447.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1199, allocations: 39.97 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1202, allocations: 92.98 kB / 447.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1202, allocations: 0 / 447.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000291/0.1205, allocations: 133.5 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1205, allocations: 8 kB / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1205, allocations: 0 / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1205, allocations: 0 / 447.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1207, allocations: 23.92 kB / 448 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1207, allocations: 8 kB / 448 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.1207, allocations: 15.92 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1208, allocations: 4 kB / 448 MB, free: 8.133 MB / 382.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 9.948e-05/0.1209, allocations: 129.8 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.1209, allocations: 7.906 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.1212, allocations: 138.3 kB / 448.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1213, allocations: 4 kB / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1213, allocations: 0 / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1213, allocations: 3.938 kB / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.1218, allocations: 410.4 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1218, allocations: 4 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.1219, allocations: 23.98 kB / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1219, allocations: 0 / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.122, allocations: 3.938 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.122, allocations: 4 kB / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.122, allocations: 0 / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1223, allocations: 231.6 kB / 448.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.586e-05/0.1224, allocations: 85 kB / 449 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1224, allocations: 11.94 kB / 449 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.1225, allocations: 19.97 kB / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.1226, allocations: 4 kB / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1226, allocations: 3.984 kB / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1227, allocations: 130.7 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 0 / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.123, allocations: 20 kB / 449.2 MB, free: 6.82 MB / 382.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.001024/0.124, allocations: 405.3 kB / 449.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.1243, allocations: 91.88 kB / 449.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1243, allocations: 4 kB / 449.7 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1245, allocations: 55.91 kB / 449.8 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1248, allocations: 8 kB / 449.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.1252, allocations: 237 kB / 450 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1255, allocations: 0.7043 MB / 450.7 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.1256, allocations: 20.28 kB / 450.7 MB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.1256, allocations: 15.44 kB / 450.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1256, allocations: 0 / 450.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of Templates: time 0.003496/0.1291, allocations: 1.128 MB / 451.9 MB, free: 4.137 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches