Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009315/0.0009315, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1879/0.1879, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002635/0.1195, allocations: 1.727 MB / 485.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1217, allocations: 1.224 MB / 486.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1219, allocations: 0 / 486.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1222, allocations: 31.78 kB / 486.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.1227, allocations: 183.4 kB / 486.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1237, allocations: 417.4 kB / 487.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.1242, allocations: 275.2 kB / 487.6 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.1245, allocations: 60.69 kB / 487.6 MB, free: 276 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.1247, allocations: 119.4 kB / 487.7 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.125, allocations: 167.3 kB / 487.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.125, allocations: 8 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1252, allocations: 59.92 kB / 488 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.1254, allocations: 131.6 kB / 488.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.1255, allocations: 180.3 kB / 488.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1259, allocations: 279.7 kB / 488.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1259, allocations: 0 / 488.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1259, allocations: 4 kB / 488.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1259, allocations: 0 / 488.6 MB, free: 15.33 MB / 366.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.0009274/0.1268, allocations: 0.7 MB / 489.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1269, allocations: 9.953 kB / 489.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.1272, allocations: 84.16 kB / 489.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.1278, allocations: 459.7 kB / 489.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1278, allocations: 8.375 kB / 489.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.1278, allocations: 12.12 kB / 489.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1281, allocations: 135.1 kB / 489.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1281, allocations: 4 kB / 490 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1281, allocations: 0 / 490 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1282, allocations: 11.94 kB / 490 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1284, allocations: 83.95 kB / 490 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/0.1293, allocations: 0.6683 MB / 490.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1295, allocations: 105.2 kB / 490.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1296, allocations: 49.83 kB / 490.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1296, allocations: 11.91 kB / 490.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1297, allocations: 42.44 kB / 490.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1297, allocations: 0 / 490.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001398/0.1311, allocations: 0.5417 MB / 491.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1312, allocations: 85.03 kB / 491.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009956/0.1322, allocations: 0.8944 MB / 492.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.1322, allocations: 29.7 kB / 492.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.1324, allocations: 260.3 kB / 492.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.1325, allocations: 51.2 kB / 492.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1325, allocations: 17.72 kB / 492.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1327, allocations: 374.7 kB / 493.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1328, allocations: 63.97 kB / 493.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.133, allocations: 80.34 kB / 493.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.1334, allocations: 157.6 kB / 493.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1334, allocations: 3.938 kB / 493.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004753/0.1339, allocations: 229.2 kB / 493.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.1339, allocations: 11.98 kB / 493.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1339, allocations: 4.25 kB / 493.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1339, allocations: 0 / 493.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1341, allocations: 43.91 kB / 493.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1341, allocations: 0 / 493.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.1343, allocations: 24.05 kB / 493.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1343, allocations: 11.98 kB / 493.8 MB, free: 9.844 MB / 366.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.0001985/0.1345, allocations: 209.7 kB / 494 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1346, allocations: 59.23 kB / 494 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.1352, allocations: 282.2 kB / 494.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1352, allocations: 4 kB / 494.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1353, allocations: 4 kB / 494.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1353, allocations: 0 / 494.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.1364, allocations: 0.7941 MB / 495.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1364, allocations: 0 / 495.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1366, allocations: 43.97 kB / 495.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1366, allocations: 0 / 495.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1366, allocations: 4 kB / 495.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1366, allocations: 7.938 kB / 495.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1366, allocations: 0 / 495.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.1372, allocations: 414.3 kB / 495.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1373, allocations: 148.3 kB / 495.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1374, allocations: 4 kB / 495.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1376, allocations: 19.92 kB / 495.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.1376, allocations: 11.98 kB / 495.7 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1377, allocations: 15.98 kB / 495.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007329/0.1384, allocations: 0.6552 MB / 496.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 0 / 496.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.1388, allocations: 51.98 kB / 496.5 MB, free: 7.039 MB / 366.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.001003/0.1398, allocations: 403.6 kB / 496.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.1403, allocations: 163.9 kB / 497 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1403, allocations: 0 / 497 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1405, allocations: 91.89 kB / 497.1 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.1411, allocations: 74.89 kB / 497.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1426, allocations: 1.025 MB / 498.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.143, allocations: 0.8539 MB / 499.1 MB, free: 4.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1431, allocations: 39.41 kB / 499.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1431, allocations: 0 / 499.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of Templates: time 0.009023/0.1522, allocations: 5.498 MB / 0.4928 GB, free: 14.98 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches