Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001562/0.001562, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.8 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 69.33 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1265, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003252/0.1298, allocations: 2.002 MB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1313, allocations: 1.025 MB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1314, allocations: 0 / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1316, allocations: 35.83 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.132, allocations: 131.5 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00086/0.1328, allocations: 396.7 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.1332, allocations: 251.2 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1333, allocations: 52.38 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1335, allocations: 111.5 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.1338, allocations: 171.4 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1338, allocations: 11.94 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.134, allocations: 51.98 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.1342, allocations: 135.5 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.1343, allocations: 150.8 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.1347, allocations: 346.9 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1347, allocations: 0 / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1347, allocations: 0 / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1347, allocations: 0 / 473.4 MB, free: 10.01 MB / 350.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.001043/0.1358, allocations: 0.7309 MB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1359, allocations: 12.03 kB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.337e-05/0.136, allocations: 48.28 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.1365, allocations: 439.9 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1365, allocations: 8.375 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1366, allocations: 16.12 kB / 474.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.1369, allocations: 134.9 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1369, allocations: 0 / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1369, allocations: 4 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1369, allocations: 7.984 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.1371, allocations: 83.88 kB / 474.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009005/0.138, allocations: 0.6527 MB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.1382, allocations: 109.2 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1384, allocations: 41.83 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1384, allocations: 4 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1384, allocations: 38.5 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1384, allocations: 0 / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001389/0.1398, allocations: 0.4982 MB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.1399, allocations: 77.11 kB / 476.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.1409, allocations: 0.8465 MB / 477.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1409, allocations: 29.7 kB / 477.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1411, allocations: 236.3 kB / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.1412, allocations: 59.19 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.1412, allocations: 37.7 kB / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1414, allocations: 366.7 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1416, allocations: 56.12 kB / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1418, allocations: 69.67 kB / 477.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1421, allocations: 145.6 kB / 478.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1421, allocations: 0 / 478.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004381/0.1425, allocations: 216.9 kB / 478.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1426, allocations: 8 kB / 478.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1426, allocations: 0 / 478.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1426, allocations: 4 kB / 478.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.1428, allocations: 35.97 kB / 478.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1428, allocations: 8.25 kB / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1429, allocations: 11.98 kB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.143, allocations: 4 kB / 478.3 MB, free: 4.75 MB / 350.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 (16): * Single equations (assignments): 16 * 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.0001922/0.1432, allocations: 213.7 kB / 478.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.1433, allocations: 51.34 kB / 478.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.1438, allocations: 274.6 kB / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1439, allocations: 0 / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1439, allocations: 0 / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1439, allocations: 4 kB / 478.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1449, allocations: 0.7512 MB / 479.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1449, allocations: 4 kB / 479.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1451, allocations: 43.91 kB / 479.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1451, allocations: 0 / 479.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.1451, allocations: 7.984 kB / 479.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1451, allocations: 7.938 kB / 479.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1451, allocations: 0 / 479.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.1456, allocations: 390.3 kB / 480.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1457, allocations: 132.5 kB / 480.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.1458, allocations: 8 kB / 480.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.146, allocations: 19.86 kB / 480.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.1461, allocations: 15.97 kB / 480.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1461, allocations: 8 kB / 480.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006174/0.1467, allocations: 0.6159 MB / 480.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1467, allocations: 0 / 480.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1471, allocations: 56 kB / 480.9 MB, free: 2.066 MB / 350.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 (16): * Single equations (assignments): 16 * 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.0008806/0.148, allocations: 404.8 kB / 481.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.1484, allocations: 147.8 kB / 481.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1484, allocations: 0 / 481.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.1486, allocations: 79.89 kB / 481.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.1492, allocations: 66.27 kB / 481.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1505, allocations: 0.9946 MB / 482.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.151, allocations: 0.8498 MB / 483.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.1512, allocations: 75.55 kB / 483.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.1513, allocations: 39.42 kB / 483.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1513, allocations: 0 / 483.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Templates: time 0.007414/0.1587, allocations: 3.726 MB / 487.3 MB, free: 11.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches