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.001371/0.001371, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 208.1 kB / 19.25 MB, free: 3.941 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 / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 76.39 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1342, allocations: 62.46 MB / 480.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003844/0.1381, allocations: 2.098 MB / 482.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1405, allocations: 1.294 MB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1406, allocations: 4 kB / 484.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1409, allocations: 51.52 kB / 484.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.1414, allocations: 219 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.1426, allocations: 453.2 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.143, allocations: 331 kB / 485.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1431, allocations: 56.7 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.1434, allocations: 155.4 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1437, allocations: 203.2 kB / 485.6 MB, free: 404 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.1437, allocations: 12 kB / 485.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.1439, allocations: 67.92 kB / 485.7 MB, free: 324 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1441, allocations: 139.6 kB / 485.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.1442, allocations: 170.6 kB / 486 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.1447, allocations: 410.6 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1447, allocations: 4 kB / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1447, allocations: 0 / 486.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1447, allocations: 0 / 486.4 MB, free: 15.61 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.001086/0.1458, allocations: 0.7916 MB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1459, allocations: 13.11 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004267/0.1463, allocations: 92.14 kB / 487.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.1469, allocations: 484.4 kB / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1469, allocations: 4.375 kB / 487.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.147, allocations: 12.12 kB / 487.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1473, allocations: 151.1 kB / 487.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1473, allocations: 0 / 487.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1474, allocations: 4 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.1474, allocations: 4 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.1477, allocations: 103.9 kB / 488 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.1487, allocations: 0.6761 MB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.149, allocations: 121.2 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1491, allocations: 57.81 kB / 488.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1492, allocations: 7.984 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.1492, allocations: 42.5 kB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1492, allocations: 0 / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00205/0.1513, allocations: 0.6739 MB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.1514, allocations: 81.11 kB / 489.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1524, allocations: 0.8946 MB / 490.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1525, allocations: 29.7 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.1527, allocations: 276.2 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.1528, allocations: 59.09 kB / 490.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.1529, allocations: 41.69 kB / 491 MB, free: 10.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1531, allocations: 378.7 kB / 491.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.1533, allocations: 87.94 kB / 491.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.1536, allocations: 113.8 kB / 491.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.1541, allocations: 201.5 kB / 491.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1542, allocations: 8 kB / 491.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007006/0.1549, allocations: 304.9 kB / 492 MB, free: 9.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1549, allocations: 8 kB / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1549, allocations: 0 / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1549, allocations: 224 / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.1552, allocations: 59.89 kB / 492.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1552, allocations: 3.938 kB / 492.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.1554, allocations: 23.97 kB / 492.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1555, allocations: 7.984 kB / 492.1 MB, free: 9.578 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.0002438/0.1557, allocations: 217.7 kB / 492.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1558, allocations: 55.25 kB / 492.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008153/0.1567, allocations: 346.3 kB / 492.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1567, allocations: 3.984 kB / 492.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.1567, allocations: 4 kB / 492.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1567, allocations: 4 kB / 492.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.1581, allocations: 0.8842 MB / 493.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1581, allocations: 4 kB / 493.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1584, allocations: 55.94 kB / 493.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1584, allocations: 0 / 493.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1584, allocations: 8 kB / 493.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1585, allocations: 3.938 kB / 493.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1585, allocations: 0 / 493.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.1592, allocations: 481.8 kB / 494.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1594, allocations: 140.4 kB / 494.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.1595, allocations: 4 kB / 494.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1597, allocations: 27.91 kB / 494.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.1598, allocations: 19.97 kB / 494.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.1598, allocations: 8 kB / 494.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007837/0.1606, allocations: 0.6591 MB / 495 MB, free: 6.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1606, allocations: 0 / 495 MB, free: 6.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003711/0.161, allocations: 56 kB / 495.1 MB, free: 6.516 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.001478/0.1625, allocations: 409.5 kB / 495.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.1632, allocations: 235.7 kB / 495.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1632, allocations: 0 / 495.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.1635, allocations: 124.4 kB / 495.8 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.1642, allocations: 89.16 kB / 495.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1658, allocations: 0.9826 MB / 496.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.1664, allocations: 0.8614 MB / 497.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.1665, allocations: 47.41 kB / 497.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1665, allocations: 0 / 497.8 MB, free: 3.863 MB / 366.1 MB Notification: Performance of Templates: time 0.01038/0.1769, allocations: 6.038 MB / 0.492 GB, free: 13.84 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