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.001081/0.001081, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001064/0.001064, allocations: 188 kB / 19.34 MB, free: 3.641 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.344/1.344, allocations: 222.9 MB / 243 MB, free: 15.13 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.2129/0.2129, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.25 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003909/0.114, allocations: 1.957 MB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.116, allocations: 1.025 MB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1161, allocations: 7.938 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1164, allocations: 35.66 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.1169, allocations: 151.4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.1179, allocations: 422.6 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1183, allocations: 255.2 kB / 474.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1185, allocations: 64.34 kB / 474.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1187, allocations: 115.5 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.119, allocations: 175.4 kB / 474.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.1191, allocations: 12 kB / 474.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1193, allocations: 67.86 kB / 475 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.1194, allocations: 135.6 kB / 475.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1196, allocations: 146.8 kB / 475.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.12, allocations: 366.5 kB / 475.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.12, allocations: 0 / 475.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.12, allocations: 0 / 475.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.12, allocations: 0 / 475.6 MB, free: 8.738 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.0009619/0.121, allocations: 0.7374 MB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1211, allocations: 8.031 kB / 476.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.1211, allocations: 56.28 kB / 476.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.1217, allocations: 435.9 kB / 476.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1217, allocations: 8.375 kB / 476.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1218, allocations: 12.12 kB / 476.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.122, allocations: 125 kB / 477 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1221, allocations: 4 kB / 477 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1221, allocations: 4 kB / 477 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1221, allocations: 7.984 kB / 477 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1223, allocations: 79.83 kB / 477.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.1233, allocations: 0.6527 MB / 477.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1235, allocations: 109.2 kB / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1237, allocations: 53.75 kB / 477.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1237, allocations: 4 kB / 477.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1237, allocations: 38.5 kB / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1237, allocations: 0 / 477.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001388/0.1251, allocations: 0.4948 MB / 478.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.1252, allocations: 81.11 kB / 478.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009164/0.1261, allocations: 0.8465 MB / 479.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1262, allocations: 25.7 kB / 479.4 MB, free: 4.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1263, allocations: 244.3 kB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1264, allocations: 51.2 kB / 479.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1264, allocations: 33.7 kB / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1266, allocations: 370.7 kB / 480.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.1268, allocations: 59.89 kB / 480.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1269, allocations: 76.67 kB / 480.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.1273, allocations: 137.6 kB / 480.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1273, allocations: 4 kB / 480.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004536/0.1278, allocations: 217 kB / 480.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1278, allocations: 4 kB / 480.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1278, allocations: 4 kB / 480.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1278, allocations: 4 kB / 480.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.128, allocations: 39.97 kB / 480.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.128, allocations: 0 / 480.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.1282, allocations: 12.2 kB / 480.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1282, allocations: 4 kB / 480.6 MB, free: 3.473 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.0002003/0.1284, allocations: 213.6 kB / 480.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1285, allocations: 55.34 kB / 480.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.1291, allocations: 265.8 kB / 481.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1291, allocations: 0 / 481.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1291, allocations: 4 kB / 481.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1291, allocations: 0 / 481.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1302, allocations: 0.7633 MB / 481.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1302, allocations: 0 / 481.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.1304, allocations: 39.91 kB / 481.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1304, allocations: 0 / 481.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1304, allocations: 8 kB / 481.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1304, allocations: 3.938 kB / 481.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1304, allocations: 4 kB / 481.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.1309, allocations: 390 kB / 482.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.1311, allocations: 132.5 kB / 482.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.1312, allocations: 8 kB / 482.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1314, allocations: 19.86 kB / 482.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1314, allocations: 15.98 kB / 482.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1315, allocations: 11.92 kB / 482.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006579/0.1321, allocations: 0.6198 MB / 483.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1321, allocations: 0 / 483.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1325, allocations: 48 kB / 483.2 MB, free: 0.7891 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.0009455/0.1334, allocations: 400 kB / 483.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004148/0.1339, allocations: 147.8 kB / 483.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1339, allocations: 0 / 483.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.1341, allocations: 79.89 kB / 483.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.1346, allocations: 73.02 kB / 483.9 MB, free: 268 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1359, allocations: 0.8678 MB / 484.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.1364, allocations: 0.8534 MB / 485.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.1365, allocations: 79.55 kB / 485.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.1366, allocations: 39.42 kB / 485.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1366, allocations: 0 / 485.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Templates: time 0.008149/0.1448, allocations: 3.904 MB / 489.6 MB, free: 10.49 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/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