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.001227/0.001227, allocations: 101.5 kB / 17.85 MB, free: 5.664 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.001506/0.001506, allocations: 194 kB / 18.76 MB, free: 4.746 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.3408/0.3408, allocations: 44.18 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 56.81 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004842/0.1254, allocations: 2.011 MB / 471.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1277, allocations: 1.029 MB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1279, allocations: 0 / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1282, allocations: 35.83 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.1287, allocations: 131.5 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.1297, allocations: 391 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.13, allocations: 247.2 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.1303, allocations: 60.34 kB / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1305, allocations: 107.5 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1308, allocations: 167.4 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.273e-05/0.1308, allocations: 8 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.131, allocations: 55.97 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.1312, allocations: 139.5 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1314, allocations: 142.8 kB / 473.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.1318, allocations: 263.8 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1318, allocations: 4 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1318, allocations: 4 kB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.1318, allocations: 0 / 473.9 MB, free: 10.07 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.001271/0.1331, allocations: 0.7269 MB / 474.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1332, allocations: 12.03 kB / 474.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1333, allocations: 56.27 kB / 474.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.1339, allocations: 435.9 kB / 475.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1339, allocations: 4.375 kB / 475.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.134, allocations: 12.12 kB / 475.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.1343, allocations: 137.2 kB / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1344, allocations: 0 / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1344, allocations: 7.938 kB / 475.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1344, allocations: 4 kB / 475.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.1346, allocations: 79.83 kB / 475.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.1356, allocations: 0.6644 MB / 476.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1359, allocations: 109.2 kB / 476.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.136, allocations: 41.81 kB / 476.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.136, allocations: 8 kB / 476.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1361, allocations: 38.5 kB / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1361, allocations: 0 / 476.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001538/0.1376, allocations: 0.4982 MB / 476.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1377, allocations: 77.11 kB / 476.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/0.1387, allocations: 0.8465 MB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1387, allocations: 29.7 kB / 477.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1389, allocations: 236.3 kB / 477.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.1389, allocations: 63.12 kB / 478 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.139, allocations: 33.7 kB / 478 MB, free: 5.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1392, allocations: 370.7 kB / 478.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.1394, allocations: 59.95 kB / 478.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.1395, allocations: 69.67 kB / 478.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1399, allocations: 129.7 kB / 478.6 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1399, allocations: 4 kB / 478.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004953/0.1404, allocations: 221 kB / 478.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1404, allocations: 8 kB / 478.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1405, allocations: 0 / 478.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1405, allocations: 0 / 478.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.1407, allocations: 39.97 kB / 478.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.1407, allocations: 7.938 kB / 478.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1409, allocations: 11.98 kB / 478.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1409, allocations: 4 kB / 478.9 MB, free: 4.801 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.0002144/0.1411, allocations: 209.7 kB / 479.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1412, allocations: 51.34 kB / 479.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000575/0.1418, allocations: 262.6 kB / 479.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1418, allocations: 4 kB / 479.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1418, allocations: 0 / 479.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1418, allocations: 3.984 kB / 479.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.143, allocations: 0.7633 MB / 480.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.143, allocations: 112 / 480.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1432, allocations: 43.84 kB / 480.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1432, allocations: 4 kB / 480.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1432, allocations: 4 kB / 480.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1432, allocations: 7.938 kB / 480.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1432, allocations: 0 / 480.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.1438, allocations: 397.9 kB / 480.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1439, allocations: 132.5 kB / 480.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.144, allocations: 4 kB / 480.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.1442, allocations: 19.92 kB / 480.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.1442, allocations: 15.98 kB / 480.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1442, allocations: 7.984 kB / 480.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.1449, allocations: 0.6159 MB / 481.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1449, allocations: 0 / 481.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000359/0.1453, allocations: 48 kB / 481.5 MB, free: 2.125 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.0009141/0.1462, allocations: 402.1 kB / 481.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.1467, allocations: 143.8 kB / 482 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1467, allocations: 0 / 482 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1469, allocations: 83.83 kB / 482.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.1475, allocations: 70.2 kB / 482.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1491, allocations: 0.9806 MB / 483.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1496, allocations: 0.8497 MB / 484 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.1497, allocations: 43.41 kB / 484.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1497, allocations: 0 / 484.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Templates: time 0.009651/0.1593, allocations: 5.322 MB / 489.4 MB, free: 10.35 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/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