Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 343.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 82.64 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 62.44 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003803/0.1426, allocations: 2.082 MB / 481.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.145, allocations: 1.345 MB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1451, allocations: 0 / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.1454, allocations: 51.69 kB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.1459, allocations: 179.4 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1472, allocations: 0.5741 MB / 483.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.1476, allocations: 315.1 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1478, allocations: 72.7 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1481, allocations: 139.4 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1483, allocations: 191.3 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.1483, allocations: 16 kB / 484.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1485, allocations: 63.98 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.1487, allocations: 155.4 kB / 484.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1488, allocations: 166.6 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1493, allocations: 386.9 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1493, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1493, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1493, allocations: 0 / 485.2 MB, free: 15.89 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.001083/0.1504, allocations: 0.7773 MB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1505, allocations: 8.031 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.1508, allocations: 76.16 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.1513, allocations: 463.7 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1514, allocations: 8.375 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.1514, allocations: 16.12 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.1517, allocations: 147.1 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1518, allocations: 7.984 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1518, allocations: 4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.1518, allocations: 4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.152, allocations: 95.88 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.153, allocations: 0.6915 MB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1532, allocations: 121.2 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.1534, allocations: 45.83 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1534, allocations: 0 / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1534, allocations: 50.48 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1534, allocations: 0 / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001485/0.1549, allocations: 0.5369 MB / 488.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.155, allocations: 81.11 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.156, allocations: 0.9063 MB / 489.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.156, allocations: 33.64 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1562, allocations: 256.3 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.1563, allocations: 55.19 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.1564, allocations: 33.7 kB / 489.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1566, allocations: 378.7 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1568, allocations: 67.95 kB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1569, allocations: 77.67 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.1573, allocations: 153.6 kB / 490.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1573, allocations: 4 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004685/0.1578, allocations: 236.9 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1578, allocations: 4 kB / 490.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1578, allocations: 0 / 490.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1578, allocations: 4 kB / 490.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.158, allocations: 43.91 kB / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1581, allocations: 0 / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.1582, allocations: 19.89 kB / 490.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.1582, allocations: 7.984 kB / 490.5 MB, free: 10.26 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.0002066/0.1584, allocations: 217.7 kB / 490.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.1585, allocations: 51.34 kB / 490.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.1591, allocations: 295.3 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1592, allocations: 4.219 kB / 491.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1592, allocations: 4 kB / 491.1 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1592, allocations: 3.938 kB / 491.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1603, allocations: 0.8021 MB / 491.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1603, allocations: 0 / 491.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1605, allocations: 39.91 kB / 492 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1605, allocations: 0 / 492 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1605, allocations: 8 kB / 492 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1605, allocations: 7.875 kB / 492 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.1606, allocations: 3.984 kB / 492 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.1611, allocations: 421.9 kB / 492.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1612, allocations: 136.4 kB / 492.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.1613, allocations: 0 / 492.5 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1615, allocations: 19.92 kB / 492.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1615, allocations: 11.98 kB / 492.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1615, allocations: 8 kB / 492.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006902/0.1622, allocations: 0.663 MB / 493.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1622, allocations: 0 / 493.2 MB, free: 7.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1626, allocations: 52 kB / 493.3 MB, free: 7.43 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.0009492/0.1636, allocations: 399.8 kB / 493.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1641, allocations: 179.7 kB / 493.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1641, allocations: 0 / 493.8 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.1643, allocations: 92.34 kB / 493.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.165, allocations: 80.8 kB / 494 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1665, allocations: 1.08 MB / 495.1 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.1669, allocations: 0.8692 MB / 496 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.1672, allocations: 87.22 kB / 496 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.1673, allocations: 35.42 kB / 496.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1673, allocations: 0 / 496.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of Templates: time 0.008999/0.1763, allocations: 4.015 MB / 0.4884 GB, free: 0.707 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches