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.001101/0.001101, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002761, allocations: 12 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 63.56 MB / 483.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002455/0.1141, allocations: 1.723 MB / 484.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1162, allocations: 1.22 MB / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.1163, allocations: 0 / 486 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1165, allocations: 35.77 kB / 486.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.1169, allocations: 175.4 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008649/0.1178, allocations: 416.8 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1181, allocations: 287.1 kB / 486.9 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1183, allocations: 56.72 kB / 487 MB, free: 276 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1185, allocations: 107.5 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1188, allocations: 171.3 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1188, allocations: 8 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1189, allocations: 55.92 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.1191, allocations: 135.5 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1193, allocations: 184.3 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.1196, allocations: 362.8 kB / 488 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1196, allocations: 0 / 488 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1196, allocations: 0 / 488 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1197, allocations: 0 / 488 MB, free: 15.26 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.0008446/0.1205, allocations: 0.6999 MB / 488.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1206, allocations: 9.953 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.1208, allocations: 80.17 kB / 488.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.1214, allocations: 459.7 kB / 489.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1214, allocations: 8.359 kB / 489.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1215, allocations: 24.06 kB / 489.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.1217, allocations: 139.2 kB / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1218, allocations: 0 / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1218, allocations: 4 kB / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1218, allocations: 7.984 kB / 489.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.122, allocations: 79.89 kB / 489.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.1229, allocations: 0.6684 MB / 490.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1231, allocations: 121.3 kB / 490.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1233, allocations: 49.77 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1233, allocations: 4 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1233, allocations: 38.5 kB / 490.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1233, allocations: 0 / 490.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001429/0.1248, allocations: 0.5448 MB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1248, allocations: 77.11 kB / 491 MB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.1258, allocations: 0.9061 MB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1259, allocations: 25.7 kB / 491.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1261, allocations: 252.3 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.1261, allocations: 59.17 kB / 492.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1262, allocations: 17.72 kB / 492.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1263, allocations: 374.7 kB / 492.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.1265, allocations: 63.95 kB / 492.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1267, allocations: 85.61 kB / 492.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1271, allocations: 153.8 kB / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1271, allocations: 0 / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004951/0.1276, allocations: 240.9 kB / 493.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1276, allocations: 4 kB / 493.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1277, allocations: 0 / 493.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1277, allocations: 4 kB / 493.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1279, allocations: 43.97 kB / 493.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1279, allocations: 0 / 493.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.128, allocations: 15.98 kB / 493.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1281, allocations: 11.98 kB / 493.2 MB, free: 9.762 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.0002065/0.1283, allocations: 209.7 kB / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/0.1284, allocations: 55.25 kB / 493.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.129, allocations: 295.1 kB / 493.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.129, allocations: 0 / 493.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.129, allocations: 0 / 493.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.129, allocations: 4 kB / 493.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.1301, allocations: 0.7864 MB / 494.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1302, allocations: 3.984 kB / 494.5 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1303, allocations: 47.91 kB / 494.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1303, allocations: 0 / 494.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1304, allocations: 19.86 kB / 494.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1304, allocations: 3.938 kB / 494.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1304, allocations: 0 / 494.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.1309, allocations: 406.1 kB / 495 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.1311, allocations: 148.3 kB / 495.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1311, allocations: 8 kB / 495.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1314, allocations: 19.92 kB / 495.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.1314, allocations: 19.92 kB / 495.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1314, allocations: 4 kB / 495.2 MB, free: 7.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006884/0.1321, allocations: 0.6552 MB / 495.9 MB, free: 7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1321, allocations: 0 / 495.9 MB, free: 7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1325, allocations: 56 kB / 495.9 MB, free: 6.945 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.0009286/0.1334, allocations: 395.4 kB / 496.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.1339, allocations: 163.8 kB / 496.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1339, allocations: 0 / 496.5 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1341, allocations: 83.91 kB / 496.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.1348, allocations: 74.94 kB / 496.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1362, allocations: 1.039 MB / 497.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.1367, allocations: 0.8724 MB / 498.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.1369, allocations: 75.53 kB / 498.6 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.137, allocations: 39.42 kB / 498.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.137, allocations: 0 / 498.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of Templates: time 0.008221/0.1452, allocations: 3.737 MB / 0.4906 GB, free: 0.5742 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches