Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 118 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2495/0.2495, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 80.44 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1313, allocations: 62.44 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003742/0.135, allocations: 1.715 MB / 481.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1369, allocations: 1.155 MB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.137, allocations: 0 / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.1372, allocations: 11.94 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1375, allocations: 83.73 kB / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1379, allocations: 115.8 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.1381, allocations: 71.77 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1382, allocations: 15.98 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.1382, allocations: 31.91 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1384, allocations: 39.78 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1384, allocations: 8 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1386, allocations: 95.88 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.1387, allocations: 23.97 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1388, allocations: 27.8 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.139, allocations: 143.6 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.139, allocations: 3.938 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.139, allocations: 0 / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1391, allocations: 0 / 483 MB, free: 2.039 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000622/0.1397, allocations: 407.4 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1397, allocations: 16.03 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.1398, allocations: 8.844 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.14, allocations: 186.5 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.14, allocations: 4.375 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1401, allocations: 4.375 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1403, allocations: 79.44 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1403, allocations: 0 / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1403, allocations: 3.984 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1403, allocations: 8 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1405, allocations: 35.97 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.1409, allocations: 296.7 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.141, allocations: 42.5 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.1411, allocations: 24.94 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1412, allocations: 7.984 kB / 484.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1412, allocations: 34.56 kB / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.888e-06/0.1412, allocations: 0 / 484.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008179/0.142, allocations: 209.2 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1421, allocations: 77.11 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1423, allocations: 148.3 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1423, allocations: 25.7 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.1424, allocations: 96.12 kB / 484.7 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1424, allocations: 27.59 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1424, allocations: 25.7 kB / 484.7 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1426, allocations: 318.8 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1427, allocations: 28.06 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.1428, allocations: 53.66 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.143, allocations: 80.78 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.143, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002788/0.1433, allocations: 109.5 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1434, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1434, allocations: 0 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1434, allocations: 0 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1435, allocations: 23.98 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1435, allocations: 0 / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.1436, allocations: 19.92 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1436, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 8.855e-05/0.1437, allocations: 125.8 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.1437, allocations: 7.906 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.1441, allocations: 126.7 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1441, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1441, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1441, allocations: 3.938 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.1447, allocations: 394.5 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1447, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.1448, allocations: 19.98 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1448, allocations: 3.984 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1448, allocations: 7.938 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1448, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1448, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1451, allocations: 215.3 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1452, allocations: 81.3 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.1452, allocations: 15.86 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.1453, allocations: 8 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1454, allocations: 11.97 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1454, allocations: 0 / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.942e-05/0.1455, allocations: 117.4 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1455, allocations: 0 / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1458, allocations: 36 kB / 486.5 MB, free: 14.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.001138/0.147, allocations: 0.4929 MB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1473, allocations: 79.86 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1473, allocations: 4 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1474, allocations: 40.12 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1478, allocations: 20.05 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.1483, allocations: 226 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1486, allocations: 0.702 MB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.1487, allocations: 11.98 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.1487, allocations: 19.42 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1488, allocations: 0 / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004708/0.1535, allocations: 1.859 MB / 490 MB, free: 10.85 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches