Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 103.8 kB / 16.4 MB, free: 6.406 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.001372/0.001372, allocations: 190.5 kB / 17.34 MB, free: 5.699 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2106/0.2106, allocations: 43.52 MB / 314.1 MB, free: 460 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.001588/0.001588, allocations: 69.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003114/0.1217, allocations: 1.608 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.1224, allocations: 347.6 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.1225, allocations: 0 / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.123, allocations: 455.1 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1234, allocations: 255.4 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1238, allocations: 155.6 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.1241, allocations: 171.7 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.1242, allocations: 23.97 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1243, allocations: 111.7 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1246, allocations: 215.6 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1246, allocations: 4 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.1247, allocations: 32 kB / 0.4912 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1248, allocations: 87.67 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.1249, allocations: 103 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1252, allocations: 251 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1252, allocations: 3.938 kB / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1252, allocations: 0 / 0.4916 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1253, allocations: 4 kB / 0.4916 GB, free: 7.977 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.0007394/0.126, allocations: 0.6414 MB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1261, allocations: 15.89 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.1261, allocations: 40.38 kB / 0.4923 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1265, allocations: 296.2 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1265, allocations: 384 / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1265, allocations: 8.375 kB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1267, allocations: 65.72 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1267, allocations: 0 / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1268, allocations: 4 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1268, allocations: 4 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1269, allocations: 35.97 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.1276, allocations: 404.7 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1277, allocations: 46.48 kB / 0.4931 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.1278, allocations: 32.94 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.1278, allocations: 4 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1279, allocations: 30.56 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.1279, allocations: 0 / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000904/0.1288, allocations: 312 kB / 0.4935 GB, free: 5.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1288, allocations: 51.41 kB / 0.4935 GB, free: 5.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.1298, allocations: 0.8535 MB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1298, allocations: 25.7 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.13, allocations: 212 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.13, allocations: 23.66 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.1301, allocations: 25.64 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1303, allocations: 370.7 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1304, allocations: 32.05 kB / 0.495 GB, free: 4.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1306, allocations: 43.94 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1308, allocations: 92.73 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1308, allocations: 7.938 kB / 0.4951 GB, free: 4.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003219/0.1311, allocations: 149.1 kB / 0.4953 GB, free: 3.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1312, allocations: 4 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1312, allocations: 3.984 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1312, allocations: 4 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1313, allocations: 15.98 kB / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1313, allocations: 0 / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.1314, allocations: 19.92 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1314, allocations: 0 / 0.4953 GB, free: 3.914 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 0.000205/0.1317, allocations: 221.7 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.1317, allocations: 35.53 kB / 0.4956 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.1321, allocations: 185.4 kB / 0.4957 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1321, allocations: 4 kB / 0.4957 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1321, allocations: 0 / 0.4957 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1321, allocations: 3.938 kB / 0.4958 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006239/0.1328, allocations: 0.5022 MB / 0.4962 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1328, allocations: 0 / 0.4962 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.1329, allocations: 19.98 kB / 0.4963 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1329, allocations: 0 / 0.4963 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1329, allocations: 11.94 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1329, allocations: 4 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1329, allocations: 0 / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.1332, allocations: 251.4 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.1333, allocations: 112.5 kB / 0.4966 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.1334, allocations: 11.92 kB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.1335, allocations: 4 kB / 0.4966 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.1335, allocations: 11.98 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1335, allocations: 7.938 kB / 0.4967 GB, free: 2.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005638/0.1341, allocations: 0.6394 MB / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1341, allocations: 0 / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1344, allocations: 27.98 kB / 0.4973 GB, free: 1.77 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.0009905/0.1354, allocations: 407.1 kB / 0.4977 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1357, allocations: 91.91 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1357, allocations: 0 / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1358, allocations: 51.91 kB / 0.4978 GB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1363, allocations: 29.81 kB / 0.4979 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1375, allocations: 0.8032 MB / 0.4986 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.1381, allocations: 0.8299 MB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.706e-05/0.1382, allocations: 15.98 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.1382, allocations: 15.42 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1382, allocations: 0 / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.006099/0.1443, allocations: 1.607 MB / 0.5011 GB, free: 13.92 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches