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.00173/0.00173, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.016/2.016, allocations: 227.4 MB / 246.9 MB, free: 8.875 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.11 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 75.45 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1115, allocations: 62.45 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003456/0.115, allocations: 2.143 MB / 482.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1172, allocations: 1.294 MB / 483.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.1174, allocations: 0 / 483.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1177, allocations: 31.78 kB / 483.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.1182, allocations: 195.3 kB / 483.6 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.1192, allocations: 437.9 kB / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.1196, allocations: 303.1 kB / 484.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1198, allocations: 64.62 kB / 484.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.12, allocations: 127.4 kB / 484.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1203, allocations: 199.2 kB / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1203, allocations: 12 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1205, allocations: 55.98 kB / 484.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.1207, allocations: 143.5 kB / 484.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1208, allocations: 170.6 kB / 485.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1211, allocations: 299.8 kB / 485.4 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1211, allocations: 0 / 485.4 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1211, allocations: 0 / 485.4 MB, free: 240 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1211, allocations: 0 / 485.4 MB, free: 240 kB / 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.001044/0.1222, allocations: 0.8009 MB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1222, allocations: 9.953 kB / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.1227, allocations: 92.14 kB / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1232, allocations: 476.4 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1233, allocations: 4.375 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.1233, allocations: 16.12 kB / 486.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1236, allocations: 147.2 kB / 486.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1237, allocations: 0 / 486.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.1237, allocations: 8 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1237, allocations: 0 / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.124, allocations: 99.86 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.1249, allocations: 0.6877 MB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1252, allocations: 125.2 kB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1254, allocations: 61.81 kB / 487.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1254, allocations: 7.969 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1255, allocations: 38.56 kB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1255, allocations: 4 kB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001975/0.1274, allocations: 0.6733 MB / 488.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1275, allocations: 81.09 kB / 488.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009508/0.1285, allocations: 0.8985 MB / 489.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.1285, allocations: 29.7 kB / 489.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1287, allocations: 264.3 kB / 489.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.1288, allocations: 67.08 kB / 489.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.1288, allocations: 37.7 kB / 490 MB, free: 11.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.129, allocations: 382.7 kB / 490.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.1293, allocations: 83.94 kB / 490.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.1295, allocations: 113.6 kB / 490.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.13, allocations: 205.5 kB / 490.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.13, allocations: 0 / 490.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006508/0.1307, allocations: 308.8 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1307, allocations: 4 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1307, allocations: 0 / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1308, allocations: 4 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.131, allocations: 47.95 kB / 491.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1311, allocations: 7.984 kB / 491.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1313, allocations: 23.98 kB / 491.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.1313, allocations: 7.984 kB / 491.1 MB, free: 10.2 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.0002105/0.1315, allocations: 213.9 kB / 491.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1316, allocations: 63.23 kB / 491.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/0.1324, allocations: 351 kB / 491.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1324, allocations: 4 kB / 491.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1324, allocations: 4 kB / 491.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1324, allocations: 0 / 491.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1337, allocations: 0.8882 MB / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1337, allocations: 0 / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.134, allocations: 51.89 kB / 492.7 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.134, allocations: 4.094 kB / 492.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.134, allocations: 15.92 kB / 492.7 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1341, allocations: 3.938 kB / 492.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1341, allocations: 4 kB / 492.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007181/0.1348, allocations: 480.1 kB / 493.2 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1349, allocations: 140.4 kB / 493.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.135, allocations: 4 kB / 493.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1352, allocations: 23.91 kB / 493.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/0.1353, allocations: 19.97 kB / 493.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1353, allocations: 4 kB / 493.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.136, allocations: 0.6591 MB / 494 MB, free: 7.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.136, allocations: 0 / 494 MB, free: 7.191 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.1364, allocations: 68 kB / 494.1 MB, free: 7.125 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.0009598/0.1374, allocations: 408.9 kB / 494.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.138, allocations: 215.8 kB / 494.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1381, allocations: 0 / 494.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.1383, allocations: 127.8 kB / 494.8 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.139, allocations: 74.94 kB / 494.9 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.1405, allocations: 1.1 MB / 496 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.141, allocations: 0.8647 MB / 496.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1411, allocations: 47.41 kB / 496.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1412, allocations: 3.938 kB / 496.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of Templates: time 0.01032/0.1515, allocations: 6.019 MB / 0.4912 GB, free: 14.36 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches