Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 91.97 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 202.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002693, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 63.56 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002552/0.1214, allocations: 1.804 MB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1236, allocations: 1.255 MB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1238, allocations: 0 / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.124, allocations: 35.77 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.1245, allocations: 195.3 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.1255, allocations: 432.8 kB / 486.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.1259, allocations: 315 kB / 487.1 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1261, allocations: 48.72 kB / 487.1 MB, free: 64 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1264, allocations: 135.3 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.1267, allocations: 183.3 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.1267, allocations: 8 kB / 487.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1269, allocations: 59.97 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1271, allocations: 135.5 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1272, allocations: 188.3 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.1277, allocations: 390.7 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1277, allocations: 0 / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1277, allocations: 0 / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1277, allocations: 0 / 488.2 MB, free: 14.98 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.001037/0.1288, allocations: 0.7272 MB / 488.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1288, allocations: 13.95 kB / 489 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.1293, allocations: 108.1 kB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.1299, allocations: 472.4 kB / 489.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1299, allocations: 8.375 kB / 489.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.13, allocations: 16.12 kB / 489.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.1303, allocations: 151.2 kB / 489.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1304, allocations: 0 / 489.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1304, allocations: 7.938 kB / 489.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1304, allocations: 7.984 kB / 489.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.1308, allocations: 119.9 kB / 489.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1318, allocations: 0.6838 MB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.1322, allocations: 137.1 kB / 490.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1323, allocations: 69.81 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.1324, allocations: 4 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.1324, allocations: 30.56 kB / 490.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.1324, allocations: 4 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002336/0.1348, allocations: 0.7592 MB / 491.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.1349, allocations: 81.11 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.136, allocations: 0.8946 MB / 492.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.136, allocations: 29.7 kB / 492.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1362, allocations: 268.2 kB / 492.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.1363, allocations: 71 kB / 492.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.1364, allocations: 21.7 kB / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1365, allocations: 374.7 kB / 493.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1369, allocations: 107.9 kB / 493.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.1372, allocations: 132.4 kB / 493.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.1377, allocations: 237.7 kB / 493.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1378, allocations: 7.938 kB / 493.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007934/0.1386, allocations: 328.8 kB / 494 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1386, allocations: 8 kB / 494 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1386, allocations: 0 / 494 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1386, allocations: 3.984 kB / 494 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1389, allocations: 67.89 kB / 494.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.139, allocations: 0 / 494.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1392, allocations: 32.11 kB / 494.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1392, allocations: 11.98 kB / 494.2 MB, free: 8.773 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 (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.000234/0.1395, allocations: 213.7 kB / 494.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1396, allocations: 55.34 kB / 494.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008958/0.1405, allocations: 382.2 kB / 494.8 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1405, allocations: 4 kB / 494.8 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1405, allocations: 0 / 494.8 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1405, allocations: 3.984 kB / 494.8 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.142, allocations: 0.9163 MB / 495.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.142, allocations: 0 / 495.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.1423, allocations: 67.88 kB / 495.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1423, allocations: 8 kB / 495.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1424, allocations: 0 / 495.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1424, allocations: 11.94 kB / 495.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1424, allocations: 0 / 495.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.1432, allocations: 0.5018 MB / 496.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.1434, allocations: 160.3 kB / 496.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.1434, allocations: 0 / 496.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.1437, allocations: 35.91 kB / 496.5 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.1438, allocations: 19.97 kB / 496.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1438, allocations: 8 kB / 496.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007541/0.1446, allocations: 0.6591 MB / 497.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1446, allocations: 0 / 497.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.145, allocations: 64 kB / 497.2 MB, free: 5.574 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 (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.0009801/0.146, allocations: 402.6 kB / 497.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007253/0.1467, allocations: 255.8 kB / 497.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1467, allocations: 4 kB / 497.9 MB, free: 5.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.1471, allocations: 140.4 kB / 498 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.1477, allocations: 75.08 kB / 498.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1493, allocations: 1.117 MB / 499.2 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.1498, allocations: 0.8695 MB / 0.4884 GB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.15, allocations: 75.22 kB / 0.4884 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1501, allocations: 39.42 kB / 0.4885 GB, free: 2.691 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1501, allocations: 0 / 0.4885 GB, free: 2.691 MB / 366.1 MB Notification: Performance of Templates: time 0.009319/0.1595, allocations: 4.02 MB / 0.4924 GB, free: 14.7 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches