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.001103/0.001103, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003515/0.1179, allocations: 2.107 MB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1199, allocations: 1.294 MB / 484.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1201, allocations: 3.938 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1203, allocations: 51.52 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1208, allocations: 215 kB / 485.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.1217, allocations: 469.7 kB / 485.6 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.122, allocations: 323 kB / 485.9 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1222, allocations: 68.7 kB / 486 MB, free: 24 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1224, allocations: 139.5 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1227, allocations: 199.2 kB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.1227, allocations: 12 kB / 486.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1228, allocations: 67.92 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.123, allocations: 151.5 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1231, allocations: 170.6 kB / 486.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.1235, allocations: 418.3 kB / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1235, allocations: 0 / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1235, allocations: 0 / 487.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1235, allocations: 4 kB / 487.1 MB, free: 14.88 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.0009732/0.1245, allocations: 0.7929 MB / 487.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1246, allocations: 9.109 kB / 487.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.125, allocations: 96.14 kB / 488 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.1256, allocations: 476.4 kB / 488.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1257, allocations: 8.375 kB / 488.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.1257, allocations: 16.06 kB / 488.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.126, allocations: 147.2 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.126, allocations: 0 / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.126, allocations: 4 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.126, allocations: 4 kB / 488.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.1263, allocations: 103.8 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000867/0.1272, allocations: 0.68 MB / 489.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1275, allocations: 117.2 kB / 489.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1276, allocations: 65.73 kB / 489.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.1276, allocations: 4 kB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1277, allocations: 34.56 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.1277, allocations: 0 / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001759/0.1294, allocations: 0.6856 MB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1295, allocations: 81.11 kB / 490.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008689/0.1304, allocations: 0.8946 MB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1304, allocations: 33.7 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1306, allocations: 264.2 kB / 491.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.1307, allocations: 63.11 kB / 491.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.1308, allocations: 41.69 kB / 491.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1309, allocations: 370.7 kB / 492 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1312, allocations: 95.92 kB / 492.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1314, allocations: 108.7 kB / 492.2 MB, free: 9.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.1319, allocations: 213.9 kB / 492.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1319, allocations: 0 / 492.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005975/0.1325, allocations: 304.7 kB / 492.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1325, allocations: 4 kB / 492.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.1325, allocations: 4 kB / 492.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1325, allocations: 4 kB / 492.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.1328, allocations: 55.94 kB / 492.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1328, allocations: 224 / 492.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.133, allocations: 19.98 kB / 492.8 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.133, allocations: 11.92 kB / 492.9 MB, free: 8.859 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.0002217/0.1333, allocations: 217.7 kB / 493.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1334, allocations: 63.25 kB / 493.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.1341, allocations: 346.6 kB / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1341, allocations: 0 / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1341, allocations: 0 / 493.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1342, allocations: 8.078 kB / 493.5 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1354, allocations: 0.8877 MB / 494.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1354, allocations: 0 / 494.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.1357, allocations: 55.89 kB / 494.4 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1357, allocations: 7.984 kB / 494.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1357, allocations: 4 kB / 494.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1357, allocations: 7.938 kB / 494.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1357, allocations: 3.984 kB / 494.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.1364, allocations: 481.8 kB / 494.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.1365, allocations: 136.4 kB / 495 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.1366, allocations: 4 kB / 495 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.1368, allocations: 27.91 kB / 495.1 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.1369, allocations: 23.91 kB / 495.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1369, allocations: 8 kB / 495.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006625/0.1376, allocations: 0.663 MB / 495.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1376, allocations: 0 / 495.8 MB, free: 5.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000355/0.138, allocations: 56 kB / 495.8 MB, free: 5.777 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.0008714/0.1389, allocations: 393 kB / 496.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.1394, allocations: 231.7 kB / 496.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1394, allocations: 0 / 496.4 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1397, allocations: 119.9 kB / 496.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.1403, allocations: 76.81 kB / 496.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1416, allocations: 0.9474 MB / 497.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.142, allocations: 0.8804 MB / 498.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.1422, allocations: 83.2 kB / 498.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1423, allocations: 47.41 kB / 498.6 MB, free: 3.102 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1423, allocations: 0 / 498.6 MB, free: 3.102 MB / 366.1 MB Notification: Performance of Templates: time 0.008155/0.1505, allocations: 4.345 MB / 0.4911 GB, free: 14.77 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 -s gbode -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