Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 103 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.0009233/0.0009235, allocations: 184.9 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 2.079/2.079, allocations: 205.4 MB / 223.1 MB, free: 5.789 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.455/0.455, allocations: 43.56 MB / 315 MB, free: 8.66 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.0005175/0.0005175, allocations: 16 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002658/0.1391, allocations: 1.734 MB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1413, allocations: 1.046 MB / 446.2 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1414, allocations: 4 kB / 446.2 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1418, allocations: 39.72 kB / 446.3 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.1422, allocations: 135.5 kB / 446.4 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1434, allocations: 0.5304 MB / 446.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.1439, allocations: 295 kB / 447.2 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.1442, allocations: 80.5 kB / 447.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1444, allocations: 115.5 kB / 447.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1447, allocations: 183.2 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1447, allocations: 8 kB / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1448, allocations: 35.98 kB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.145, allocations: 139.5 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1452, allocations: 172.4 kB / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003982/0.1456, allocations: 362.5 kB / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1456, allocations: 0 / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1456, allocations: 0 / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1456, allocations: 4 kB / 448.3 MB, free: 7.812 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001019/0.1467, allocations: 0.7116 MB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1467, allocations: 8.031 kB / 449 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.428e-05/0.1468, allocations: 56.19 kB / 449.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.1474, allocations: 447.9 kB / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1474, allocations: 12.38 kB / 449.5 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1474, allocations: 16.12 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.1478, allocations: 167.3 kB / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1478, allocations: 0 / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1479, allocations: 4 kB / 449.7 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1479, allocations: 8 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.1482, allocations: 131.8 kB / 449.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1492, allocations: 0.7191 MB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1495, allocations: 137.2 kB / 450.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1497, allocations: 81.8 kB / 450.8 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.1498, allocations: 7.938 kB / 450.8 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1498, allocations: 30.56 kB / 450.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1498, allocations: 0 / 450.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002091/0.1519, allocations: 0.8102 MB / 451.6 MB, free: 4.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.152, allocations: 85.05 kB / 451.7 MB, free: 4.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.1528, allocations: 0.8506 MB / 452.6 MB, free: 3.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.1529, allocations: 29.7 kB / 452.6 MB, free: 3.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1531, allocations: 252.3 kB / 452.8 MB, free: 3.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.1531, allocations: 67.28 kB / 452.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1532, allocations: 17.72 kB / 452.9 MB, free: 2.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1533, allocations: 382.7 kB / 453.3 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.1536, allocations: 123.9 kB / 453.4 MB, free: 2.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.1539, allocations: 149.6 kB / 453.6 MB, free: 2.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.1545, allocations: 281.5 kB / 453.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1545, allocations: 0 / 453.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007398/0.1553, allocations: 376.7 kB / 454.2 MB, free: 1.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1553, allocations: 7.938 kB / 454.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1553, allocations: 0 / 454.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.1553, allocations: 4 kB / 454.2 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.1556, allocations: 60.7 kB / 454.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1557, allocations: 192 / 454.3 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.1558, allocations: 31.97 kB / 454.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1559, allocations: 11.94 kB / 454.3 MB, free: 1.523 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002203/0.1561, allocations: 221.6 kB / 454.5 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.1562, allocations: 59.34 kB / 454.6 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008975/0.1571, allocations: 433.7 kB / 455 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1571, allocations: 4 kB / 455 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1571, allocations: 4 kB / 455 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1571, allocations: 0 / 455 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.267/0.4241, allocations: 0.9622 MB / 456 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.4242, allocations: 4 kB / 456 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.4244, allocations: 65.92 kB / 456 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4245, allocations: 0 / 456 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.4245, allocations: 9.047 kB / 456.1 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4245, allocations: 6.844 kB / 456.1 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4245, allocations: 2.938 kB / 456.1 MB, free: 46.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.4253, allocations: 0.5363 MB / 456.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4255, allocations: 146 kB / 456.7 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.4255, allocations: 6.938 kB / 456.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.4258, allocations: 27.06 kB / 456.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.4258, allocations: 21.75 kB / 456.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4259, allocations: 7.281 kB / 456.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006301/0.4265, allocations: 0.6303 MB / 457.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4265, allocations: 0 / 457.4 MB, free: 45.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.4269, allocations: 59.38 kB / 457.5 MB, free: 45.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009459/0.4278, allocations: 416.6 kB / 457.9 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.4285, allocations: 292.5 kB / 458.2 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4285, allocations: 3.969 kB / 458.2 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.4288, allocations: 157 kB / 458.3 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.4295, allocations: 72.98 kB / 458.4 MB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4307, allocations: 1.106 MB / 459.5 MB, free: 45.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.431, allocations: 0.8821 MB / 460.4 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002105/0.4313, allocations: 103.7 kB / 460.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4314, allocations: 43.91 kB / 460.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4314, allocations: 1.5 kB / 460.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of Templates: time 0.007566/0.439, allocations: 4.033 MB / 464.6 MB, free: 44.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches